logoalt Hacker News

dontlaughyesterday at 11:32 AM4 repliesview on HN

Fil-C is slow.

There is no C or C++ memory safe compiler with acceptable performance for kernels, rendering, games, etc. For that you need Rust.

The future includes Fil-C for legacy code that isn’t performance sensitive and Rust for new code that is.


Replies

drnick1today at 5:43 AM

No, Rust is awful for game development. It's not really what it was intended for. For one, all the graphics API are in C, so you would have to use unsafe FFI basically everywhere.

sibellaviayesterday at 2:33 PM

How slow? In some contexts, the trade-off might be acceptable. From what I've seen in pizlonator's tweets, in some cases the difference in speed didn't seem drastic to me.

show 2 replies
Rebelgeckoyesterday at 5:15 PM

I imagine Apt is usually IO constrained?

show 1 reply
mbrockyesterday at 11:50 AM

What does that have to do with apt?

show 1 reply