Jump to content




new programming language


10 replies to this topic

#1 syfygirl

  • Members
  • 94 posts
  • LocationSomewhere in my mind, to which only makes sense to me.

Posted 19 March 2015 - 02:23 AM

Hey, I write programing language (for real life computers) in c++ Called Havok. Would anyone be interested in trying it out soon (have to build some stuff like an effecient garbage collector, more syntax)

A little bit about Havok.
Havok is like java... and then not like java.

Havok is virtual machine that excepts Havok bytecode. The benefit of this is that you can write/find a compiler that compiles say c, c++, java, c#, python into havok bytecode.

1;A;5
7;A

the previous code does:

1 = number
A = variable name
5 = A's value
7 = print
A = print's value

I also ran some tests on Havok:

Specs:
Amd fx-6100
4 gb of ram

C++ speed = .000618 seconds
Havok speed = .000668 seconds
As you can see havok is almost as fast as c++, i hope to write optimization code for it soon, right now it just runs it.

Havok currently runs on x86_64 and x86 and soon arm, operating systems: linux (tested); windows (not tested but soon); mac (don't own a mac); android (soon); ios (don't own a mac).

Edited by syfyguy13, 19 March 2015 - 04:09 PM.


#2 AssossaGPB

  • Members
  • 126 posts
  • LocationFlorida, USA

Posted 19 March 2015 - 02:43 AM

Looks nice. Can we have a link to the vm and some documentation on the bytecode please? Other than that it looks great.

Does it have support for guis, opengl, sound, input device, etc?

#3 syfygirl

  • Members
  • 94 posts
  • LocationSomewhere in my mind, to which only makes sense to me.

Posted 19 March 2015 - 02:47 AM

Will have FULL cross-platform graphics support and sound, maybe device handling. the vm is not suitable yet, give me 3-4 days then i'll link, hopefully i'll have a garbage collector then. Um... well... in the future i may make a cross-platform opengl wrapper.

Edited by syfyguy13, 19 March 2015 - 03:19 AM.


#4 CrazedProgrammer

  • Members
  • 495 posts
  • LocationWageningen, The Netherlands

Posted 19 March 2015 - 11:34 AM

Very cool bytecode!
I think the name Havok is already copyrighted (Havok's physics engine)

#5 syfygirl

  • Members
  • 94 posts
  • LocationSomewhere in my mind, to which only makes sense to me.

Posted 19 March 2015 - 12:46 PM

DAGNABIT!! Ok well time to rename, thank you for telling me.

#6 Lupus590

  • Members
  • 1,976 posts
  • LocationUK

Posted 19 March 2015 - 02:57 PM

Name suggestion: DAGNABIT!!
p1: Why is it called that?
p2: because the author wanted a different name that was already taken, when he was told it was taken his response was "DAGNABIT!!"

Also (in the UK at least) you are allowed to use a copy-written (spelling?) name if it's being used in a new field (I.E. if Havoc was something to do with tele-coms, you could use it.

#7 syfygirl

  • Members
  • 94 posts
  • LocationSomewhere in my mind, to which only makes sense to me.

Posted 19 March 2015 - 03:14 PM

dagnabit hmmm... idk but i am compiling libararies and mingw-gcc to port to windows, sorry mac users i don't own a mac.

#8 AssossaGPB

  • Members
  • 126 posts
  • LocationFlorida, USA

Posted 19 March 2015 - 03:32 PM

Eh, real programmers don't use mac anyway. (Don't start a flame war, I don't care about your opinion on this topic)

You should make the vm and stuff open-source. Then everyone could help with ports and optimization :D

#9 syfygirl

  • Members
  • 94 posts
  • LocationSomewhere in my mind, to which only makes sense to me.

Posted 19 March 2015 - 03:36 PM

hmm i think i will keep it closed source (because reasons) i'm not sure though.

my goodness the boost library takes forever to compile for mingw on linux

again DAGNABIT!! i was compiling boost libraries on Linux in /tmp and it filled up and canceled gcc

Edited by Lyqyd, 20 March 2015 - 02:24 AM.


#10 Lupus590

  • Members
  • 1,976 posts
  • LocationUK

Posted 19 March 2015 - 04:43 PM

pre-compiled here: http://nuwen.net/mingw.html

#11 syfygirl

  • Members
  • 94 posts
  • LocationSomewhere in my mind, to which only makes sense to me.

Posted 19 March 2015 - 06:13 PM

good news mingw and gcc is set up on windows, installing boost

FINALLY!!!! it took 2 hours but i almost have a windows port

CURSED WINDOWS, ok scratch that windows is being uncooperitave, i will cross-compile from linux to windows

HA SUCK IT WINDOWS hmmm sorry there.... anyway i compiled a port for windows on linux... android and mac in the future

Hey um... anyone have a mac that would be willing to run tests?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users