Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
edubart
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
edubart
11mo ago
This is cool because it avoids emulation. However I think it has many shortcomings today which could all be solved by emulating a real CPU architecture (e.g memory protection support, ecosystem with tooling and Linux distributions). By the
2.
▲
by
edubart
1y ago
You can try https://edubart.github.io/webcm/ WebCM is a serverless terminal that runs a virtual Linux directly in the browser by emulating a RISC-V machine. It's powered by the Cartesi Machine emulator, which enab
3.
▲
by
edubart
3y ago
Main differences in emulation context: - The Cartesi Machine can run any Linux distribution with RISC-V support, it emulates RISC-V ISA, while CheerpX emulates x86. For instance the Cartesi Machine can run Alpine, Ubuntu, Debian, etc. - The
4.
▲
Show HN: RISC-V Linux Terminal emulated via WASM
(cartesi-machine.surge.sh)
5 points
by
edubart
3y ago
|
5 comments
5.
▲
Show HN: Stackful Coroutines for C
(github.com)
3 points
by
edubart
4y ago
|
0 comments
6.
▲
by
edubart
5y ago
You are correct, when not using the GC and doing manual memory management the code will be unsafe as similar as in C, but the language generate some runtime checks (that can be disabled) to minimize undefined behavior. Nelua does not provid
7.
▲
by
edubart
5y ago
> Destructors are avoided RAII in general is avoided, because supporting it gives many unwanted consequences, increasing the language complexity and simplicity going against the goals. > Unless you enable a particular flag, then you h
8.
▲
by
edubart
5y ago
Terra was an inspiration to create Nelua in its metaprogramming aspects. Terra's famous Brainfuck example (on the front page of Terra) is available in Nelua's examples folder for comparison of meta programming.
9.
▲
by
edubart
5y ago
Teal add type annotations and type checking to Lua, and transpiles to Lua, while Nelua is a new systems programming language with optional type annotations and compiles to C. @ubertaco also made a good comparison in his comment with Teal.
10.
▲
by
edubart
5y ago
> I wish C was scriptable C kinda can be used as scripting language with MIR project https://github.com/vnmakarov/mir It released version 0.1 just a few days ago, and I've successfully used it as an alternative
11.
▲
by
edubart
5y ago
Actually Nelua have been tested to work with Arduino, AVR, RISC-V and some other embedded devices. You can make some free standing code with the language if you follow some rules (avoid APIs that uses lib C and use a custom allocator).
12.
▲
by
edubart
5y ago
> how do I make higher-kinded types In Nelua you can create new specialized types using compile time parameters, they are called "generics", you can use this for example to create a specialized vector type. > and typeclasses
13.
▲
by
edubart
5y ago
> In fact, I see many similarities between Nelua and Nim. I am the Nelua author, and I've used Nim for a reasonable amount of time before creating Nelua, thus Nim served as one of the inspirations for the project and they share simi
14.
▲
by
edubart
5y ago
You are correct, but this is an enhancement to have better compile time type checking and runtime efficiency. In the future _G table with similar Lua semantics is considered to be implemented to have better compatibility with Lua code. But
15.
▲
by
edubart
5y ago
You could change the language grammar through the preprocessor to accept "let" as an alias for "local". But I recommend people get used to Lua syntax because the metaprogramming will be done in Lua anyway, thus both prog
16.
▲
by
edubart
5y ago
Watch for file changes and auto restart an application using fork checkpoints to continue. Intended for quick live development.
17.
▲
Show HN: Forkmon – Watch for file changes and resume app from a fork checkpoints
(github.com)
1 points
by
edubart
5y ago
|
1 comments
18.
▲
Show HN: Asymmetric stackful cross-platform Coroutines in pure C
(github.com)
39 points
by
edubart
6y ago
|
0 comments
19.
▲
by
edubart
6y ago
A single header asymmetric stackful cross-platform coroutine library in pure C. https://github.com/edubart/minicoro
20.
▲
Show HN: Minicoro – Single-header Coroutine library for C
(github.com)
2 points
by
edubart
6y ago
|
0 comments
21.
▲
by
edubart
7y ago
I've been using this project for quite some time now, it speed up my development cycle with Lua or even C++ projects a lot. Typically I have a terminal and an editor always showing on my screen then whenever I do a change in the source
22.
▲
Show HN: Luamon – Live development utility for Lua
(github.com)
3 points
by
edubart
7y ago
|
2 comments
23.
▲
by
edubart
13y ago
He is not the only one, back in 2010 I did mine 160 BTC, however at some point I stopped caring. Months later I had to format hard disk because ArchLinux did a great job breaking the whole system with an update, in the moment I just didn&#x
24.
▲
by
edubart
13y ago
Back in 2010 I did mine 160 BTC in 3 days just with my average CPU, however at some point I stopped caring, because 3 years ago there weren't much blabling about bitcoin and everyone that I told at that time did't care. Months lat