3 ms·
I've been hoping to see more languages that compile to Go, it might be the most practical way to arrive at what you want. For example, see Borgo: https://news.y
by Scramblejams 2y ago
I've been hoping to see more languages that compile to Go, it might be the most practical way to arrive at what you want. For example, see Borgo: https://news.ycombinator.com/item?id=36847594 https://news.ycombinator.com/item?id=36847594
- nu11ptr 2y agoI keep toying with the idea of creating one. :-) Borgo looks neat - hadn't seen it before.
- Scramblejams 2y agoGo (!) for it! I'll try it! :-D If you do, I'd ask you to give some thought to FFI efficiency. I've been wondering if there could be a good way in a transpiled language for the type system to validate at compile time that any pointers passed to C are pinned, so you can safely run the FFI calls with cgocheck=0 which eliminates quite a bit of overhead.
- ReleaseCandidat 2y ago> I've been hoping to see more languages that compile to Go One could also use Go-Assembler as a cross-platform assembly target: https://go.dev/doc/asm https://go.dev/doc/asm