Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Javascript for Open Computers

Recommended Posts

EDIT 2: I've opened a Patreon at https://patreon.com/mrmakeit where I'll post updates.  I'll try and cross reference those updates here as well, but I do suggest checking it out as I'll have other stuff there as well.


The Open Computers JavaScript arch!


No longer are you tied to using a single language for your comps.  Dominate others with the Power of JAVASCRIPT!


Download / Source / Wiki / Emulator


  • Program in JavaScript
  • Default EEPROM.  Drop an init.js on a floppy and go.
  • That's it!


  • Still no memory or cpu management, so definently not server safe.
  • Needs an OS.
  • No built in code.  You'll need to program an eeprom yourself.  This is no longer the case.  New alpha will have an usable eeprom now.
Link to post
Share on other sites

Documentation now in the post.  Checkout the wiki.

Good point.  Unfortunately, the lack of documentation extends from the lack of implementation.  http://ocdoc.cil.li/tutorial:custom_oses should be a good place to start, since that provides the grounds for OS creation, but otherwise, the only real difference from, say Node.js, is the inclusion of the components object, and the computer object.  I'll be sure to post a link to better documentation when I get around to making it. 

Link to post
Share on other sites

Could you clarify more on the no memory/ cpu management?  Without it, server and client can't sync together properly?

The OP probably meant that the in-game computer can use unlimited amounts of CPU power and RAM. With the normal Lua architecture, the execution speed and RAM depend on the tier of the CPU and the total size of the RAM modules.

Link to post
Share on other sites

I started my long journey of learning to code by learning JavaScript, and I haven't really done much with it since - just coded some (badly written, I'm sure) browser toys.

So it'll be nice to play with this, and have some fond memories of my horrible hackish code :)

I'll definitely be keeping an eye on this, and I can't wait to see it finished! There are just not enough Arch addons for this mod!

Link to post
Share on other sites

I've launched an emulator for working on OS/Programs at the link in the first post.  While the UI is a work-in-progress, with this "working" I should be able to start on a proper OS to use with the architecture.  If anyone ends up using it, let me know how it turned out.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.