Back to front pageView on Hacker News (opens in a new tab)Show HN: A dependently-typed programming language with static memory management (opens in a new tab)github.com456 pointsby u2zv1wx (on Hacker News)6 years agogithub.com (opens in a new tab)GitHub - vekatze/neut: A functional programming language with static memory managementA functional programming language with static memory management - vekatze/neutComments (78) 16 threadsShow all commentsShowing thread 10 of 16[-]aey6 years ago1 reply#Super cool! Any idea how big the runtime is? Is it easy to run a libc free version? I honestly feel like the embedded/firmware slice of the stack desperately needs a next gen language.[-]u2zv1wx6 years ago1 reply#What you need are the two functions `malloc` and `free` that have the following signatures: declare i8* @malloc(i64) declare void @free(i8*) So if you have implementations of them written in LLVM IR, I think that's enough.Disclaimer: I'm not very good at low-layer concepts. Correct me if I'm wrong here.aey6 years ago#Is there a big runtime that’s linked to support all the language features? Like what is the fully statically linked size ofint main(void) { return 0; }If it’s just providing free/malloc symbols, that’s wonderful!
Show HN: A dependently-typed programming language with static memory management (opens in a new tab)github.com456 pointsby u2zv1wx (on Hacker News)6 years ago
aey6 years ago1 reply#Super cool! Any idea how big the runtime is? Is it easy to run a libc free version? I honestly feel like the embedded/firmware slice of the stack desperately needs a next gen language.
u2zv1wx6 years ago1 reply#What you need are the two functions `malloc` and `free` that have the following signatures: declare i8* @malloc(i64) declare void @free(i8*) So if you have implementations of them written in LLVM IR, I think that's enough.Disclaimer: I'm not very good at low-layer concepts. Correct me if I'm wrong here.
aey6 years ago#Is there a big runtime that’s linked to support all the language features? Like what is the fully statically linked size ofint main(void) { return 0; }If it’s just providing free/malloc symbols, that’s wonderful!
Comments (78) 16 threads
Show all comments
Showing thread 10 of 16
Disclaimer: I'm not very good at low-layer concepts. Correct me if I'm wrong here.
int main(void) { return 0; }
If it’s just providing free/malloc symbols, that’s wonderful!