compilers-targeting-c
vanity-scheme
compilers-targeting-c | vanity-scheme | |
---|---|---|
6 | 1 | |
656 | 3 | |
- | - | |
4.6 | 8.0 | |
6 months ago | 20 days ago | |
JavaScript | C | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compilers-targeting-c
-
Ask HN: Who is developing a programming language that compiles to C?
https://github.com/dbohdan/compilers-targeting-c
I'm long time fan of programming languages that compiles to C hoping that one day will fall in love with one endlessly! :-)
-
C as a IL (Obstacles? Libraries?)
Somehow related: a list of open source compilers that can generate C code.
-
rust in kernel?
If we need a higher-level language in the kernel, it should be a copyfree-licensed language. Lua is already the language of choice for in-kernel scripting. There are many languages that compile to C (Nim, V, Chicken Scheme, etc), which makes them just as fast but a lot less bloated than Rust.
-
Is there any alternatives to Clang?
Sadly the best alternative to Apache-licensed LLVM is still LLVM version 8 (the last version under the original license). It should continue to compile well-written C programs (including everything in BSD base), as well as languages that compile to C (Nim, V, Chicken Scheme, etc). But newer C++ features, new hardware support, and ever-improving optimizations would not be available. This would result in a growing number of ports pulling in the latest LLVM/clang as a dependency...
- Targetting C
-
What softwares do you recommend to a daily use BSD system?
I still use llvm80 (8.0.1_7) (mainly as the Nim / V / Chicken / etc backend), because it's the last Copyfree version, before the switch to Apache license.
vanity-scheme
-
Ask HN: Who is developing a programming language that compiles to C?
https://github.com/rnvannatta/vanity-scheme
I am currently making a r7rs scheme derivative that compiles to C. The lofty goal is parallel fibers.
It's in extreme early stages, and I don't expect anyone will use it other than me, but I already like it. The compiler has been self hosted for a few months now. It has a cool FFI that you can see in use in the demos folder. Working on adding header generation to the module system.
While Chicken Scheme is cool, I don't think it'll be parallel, and not in the way I want it to be, and I am willing to make a lot of compromises Chicken isn't to get there. As mentioned, I am willing to settle with fibers for parallelism, and heavily eschewing side effects, making changes from r7rs to get there. For example, there will be no dynamic-wind provided and parameter objects will have different, thread friendlier, semantics.
What are some alternatives?
herbstluftwm - A manual tiling window manager for X11
neovim - Vim-fork focused on extensibility and usability
honey-potion - Writing eBPF programs with Elixir!
mpv - 🎥 Command line video player