blocklandjs is back
(after like three rewrites lmfao)
features in this rework:
- a full tcp stack
- an event loop that'll use 30% of your cpu if you don't let it sleep every millisecond
- es6 modules... a feature not even node.js supports natively (you have to enable it through a stupid flag lol)
- a libuv implementation that'll knock your socks off (asynchronously)
- the best god damned bridge between torquescript and javascript you've ever seen
comes with your own 14 year old asian as your little tech support man- it's pretty darn fast
- asynchronous filesystem operations, binary i/o is supported
"alright i'm convinced, how do i download this?"get the latest release
here"how can i trust you haven't backdoored this dll"really you can't but if you don't trust the dlls i put out, i provide the libraries and the project file to compile it yourself, get them
here"where's the documentation"here"why can't i use require like node.js"use this code instead
import('ModuleName').then((mod) => {ModuleName = mod;});
"how the hell do i install modules"throw them in a folder in your addons, and name the entry point or main file index.js
"why don't you provide classes that do everything for me"because i don't believe in the weed that the node.js developers were smoking when they decided that evalling about 50 modules worth of code upon startup was a good idea, as well as the principal of NIH.
"i found an issue how the hell do i report it"make a new issue
here"but why"because torquescript is really slow and i don't like the syntax of it (i haven't used torquescript for like a year)
download:
hereexample projects i've done so far:
sorta functioning http server