You are not logged in.
Pages: 1
Hey there, my name is syfyguy. I have been writing a language in c++ and have been an arch linux user for about 9 months (using linux for 2 1/2 years). Anyway Havok is an incredibly fast custom bytecode virtual machine.
I have run some tests... not THE best tests by any means, (cough*) create two numbers add and print to screen (cough*), but i will test with ackermann's function against c++
Anyway Havok is about 20-40 microseconds slower than c++ compiled with the same arguments. Another benefit of Havok is I will be writing a few 'compilers' for it, what i mean is you could take say python running at (.012 seconds) or java, c#, c, c++ whatever you want (as long as theres a compiler) and compile it to havok code running at (.000660 seconds).
Current status:
windows port: yes (compiled from linux)
Linux port: yes (actually Havok is coded on linux)
Mac port: maybe (don't own a mac)
IOS port: maybe (don't own a iphone)
Android port: working on it, i have an arm cross-compiler installed just need to compile boost.
General question would you try Havok out?
Stuff left to do on Havok:
Build a garbage collector (NOT LIKE JAVA's)
a preprocessor
a pre-scan efficiency checker.
Maybe opengl wrapper?
Full cross-platform gui, sound, and events
Example of a Havok program:
1;A;5
7;A
Breakdown:
1 = create number
A = variable name
5 = A's value
7 = print to screen
A = 7's value to print
Last edited by syfyguy13 (2015-03-20 05:09:15)
Offline
Whoops wrong area sorry newb to these forums, could someone move me to offtopic?
Last edited by syfyguy13 (2015-03-20 05:15:40)
Offline
This is probably the right board, but there is no link in your post: where is the code?
Offline
Oh whoops right i will have a link in like 3 days, just wanted to ask if anyone would be interested in trying it when i'm finished with a stable version.
Last edited by syfyguy13 (2015-03-20 05:21:17)
Offline
Oh, so it is vapourware?
Offline
well no i activly develop it and i will release a binary very soon like 3 days i just need to build stuff like for loops, functions and make sure it's stable enough.
Offline
Unfortanetly i wasted an entire day trying to compile it on windows (not a fun experiance).
Offline
Example of a Havok program:
1;A;5
7;ABreakdown:
1 = create number
A = variable name
5 = A's value
7 = print to screen
A = 7's value to print
How is that? Its an esoteric PL?
Offline
syfyguy13
Member
From: Somewhere in my mind.
:-)
Offline
syfyguy13 wrote:Example of a Havok program:
1;A;5
7;ABreakdown:
1 = create number
A = variable name
5 = A's value
7 = print to screen
A = 7's value to printHow is that? Its an esoteric PL?
Havok is like assembly (*not easy to be written in) or java's bytecode, not meant to be written in, but meant to be compiled to.
oh i'm sorry i haven't given any documentation here i will be building a wiki soon:
1 = create number;
2 = create string;
3 = add operator example 3 (the operator);INPUT;INPUT;OUPUT
4 = subtract operator example 4;INPUT;INPUT;OUPUT
5 = multiply operator example 5;INPUT;INPUT;OUTPUT
6 = divide operator example 6;INPUT;INPUT;OUTPUT
7 = print operator example 7;"Hello, World"
8 = import another file example 8;"mymathlibrary.hav" or 8;"math"
9 = function example 9;RETURN TYPE;NAME;(ARGS)
10 = class 10;CLASS NAME
Last edited by syfyguy13 (2015-03-20 15:35:43)
Offline
Pages: 1