dirk/hivm
{ "createdAt": "2013-03-20T00:11:22Z", "defaultBranch": "master", "description": "High-level VM (like LLVM's little brother)", "fullName": "dirk/hivm", "homepage": "http://hivm.org/", "language": "C", "name": "hivm", "pushedAt": "2015-03-24T16:25:48Z", "stargazersCount": 39, "topics": [], "updatedAt": "2025-01-08T06:27:19Z", "url": "https://github.com/dirk/hivm"}For now you’ll probably just want to read over the [notes]!(manual/notes.md) and [instruction set]!(manual/instructions.md).
Getting started
Section titled “Getting started”Hivm uses the Rake build tool which should be available with most Ruby installations or through Rubygems (via [sudo] gem install rake). Hivm also depends on a few other open-source libraries:
- [LLVM] around version 3.5: Compiler infrastructure used in the JIT compiler
- [GNOME GLib] version 2.*: Common C application library
- [Lua] version 5.1: Used by the debugger
[LLVM] !: http://llvm.org/ [GNOME GLIB] !: https://wiki.gnome.org/Projects/GLib [Lua] !: http://www.lua.org/
On Mac OS X these should be easily-installed via Homebrew:
brew install glib llvm lua51You can then build the project by invoking Rake:
git clone https://github.com/dirk/hivm.gitcd hivmrake # Will build the library, headers, and so forthrake -T # Will show a list of all available tasksThe Manifesto
Section titled “The Manifesto”Virtual machines have become a new layer of abstraction between the programmer and the machine their code runs on. The ecosystem of virtual machines is growing and the machines themselves are becoming increasingly more complex. Furthermore, virtual machines have almost always been closely bound to their “native tongue”: the language they were originally designed to execute. Running “non-native” languages on these machines is cumbersome and often incurs a penalty in performance and/or functionality.
The Hivm project aims to overcome these and provide a new, better virtual machine for the execution of static, dynamic, and hybrid languages:
- No native tongue: Hivm instead provides a solid, dependable, performant base for implementing languages.
- Minimize complexity: bootstrapping a language, interacting with the machine, writing platform-native extensions, and the like should not be hard.
- Maximize usable performance: the machine will not only perform well but also provide easy-to-use and powerful tools and APIs for understanding and optimizing how it performs.
License
Section titled “License”Licensed under the Mozilla Public License Version 2.0. See [LICENSE]!(./LICENSE) for details.
