| ▲ | pizlonator 2 days ago | |||||||||||||||||||||||||
I’m biased since I’m the Fil. It was materially useful in this project. - Caught multiple memory safety issues in a nice deterministic way, so designing the object model was easier than it would have been otherwise. - C++ with accurate GC is a really great programming model. I feel like it speeds me up by 1.5x relative to normal C++, and maybe like 1.2x relative to other GC’d languages (because C++’s APIs are so rich and the lambdas/templates and class system is so mature). But I’m biased in multiple ways - I made Fil-C++ - I’ve been programming in C++ for like 35ish years now | ||||||||||||||||||||||||||
| ▲ | thesz an hour ago | parent | next [-] | |||||||||||||||||||||||||
If I may (and correctly understand what is going inside Fil-C), it would be not so hard to add support for software transactional memory by adding some library calls. This will greatly reduce coordination bugs in parallel programs and may even speed things up. | ||||||||||||||||||||||||||
| ▲ | HarHarVeryFunny 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
Are you using malloc + GC in preference to smart pointers, and if so why? I thought Fil-C was just C not C++? It doesn't seem like that is necessarily a performance win, especially since you could always use a smart pointer's raw pointer (preferably const) in a performance critical path. | ||||||||||||||||||||||||||
| ▲ | vlovich123 2 days ago | parent | prev [-] | |||||||||||||||||||||||||
I’m curious. Given the overheads of Fil-C++, does it actually make sense to use it for greenfield projects? I like that Fil-C fills a gap in securing old legacy codebases, I’m just not sure I understand it for greenfield projects like this other than you happen to know C++ really well. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||