My power combo is F# and Rust. F# is fairly fast, has great tooling and rather expressive. And for the parts I need the speed, Rust fits in nicely. I can keep safety, while maintaining decent expressiveness. Something like Rust is needed, because when you need manual memory control, you really need it. With F#, I could measure the impact of every single allocation, even though short lived GC items are cheap.
Comments
My power combo is F# and Rust. F# is fairly fast, has great tooling and rather expressive. And for the parts I need the speed, Rust fits in nicely. I can keep safety, while maintaining decent expressiveness. Something like Rust is needed, because when you need manual memory control, you really need it. With F#, I could measure the impact of every single allocation, even though short lived GC items are cheap.
Does F# have easy C interop, so you can call into Rust easily like you can from say, Python?
C interop is quite easy from .NET languages. Here's a simple example in F#:
https://msdn.microsoft.com/en-us/library/dd393785.aspx
That example is a bit Windows specific, but it works similarly with Mono on Linux and OS X:
http://www.mono-project.com/docs/advanced/pinvoke/
Those examples there are in C#, but PInvoke works almost identically in F#.