在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mbebenita/LLJS开源软件地址:https://github.com/mbebenita/LLJS开源编程语言:JavaScript 98.9%开源软件介绍:LLJSLLJS is a typed dialect of JavaScript that offers a C-like type system with manual memory management. It compiles to JavaScript and lets you write memory-efficient and GC pause-free code less painfully, in short, LLJS is the bastard child of JavaScript and C. LLJS is early research prototype work, so don't expect anything rock solid just yet. The research goal here is to explore low-level statically typed features in a high-level dynamically typed language. Think of it as inline assembly in C, or the unsafe keyword in C#. It's not pretty, but it gets the job done. UsageFor users of node.js, For users of SpiderMonkey
in the src/ directory. MemcheckIf you would like to compile with support for memory checking (detects leaks, accesses of unallocated and undefined memory locations, and double frees) then compile with the -m flag:
And add the following code to the end of your program run to report any memory errors:
The memory checker uses Proxies so if you use node.js you need to enable it with:
TestingTo run the tests install the Mocha module then run:
from the root LLJS directory. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论