4 ms·
Try F# feels like Python in most regards but ends up having type inference. Edit: if you think “oh that’s nice, just like Java/C++”, HECK NO. It goes beyond th
by whb07 7y ago
Try F# feels like Python in most regards but ends up having type inference.
Edit: if you think “oh that’s nice, just like Java/C++”, HECK NO. It goes beyond this, where complex modeling can easily be represented and things like pattern matching and other features not known in other langs
- Rapzid 7y agoI really wish F# were the dominant language in the AI glue space instead of Python :| Typed array/tensor shapes? Yes please.
- whb07 7y agoI was thinking of writing the bindings to Pytorch directly to C++ for F# now that would be the killer thing to bring on to .net . It’d be like writing As close as writing Python but order of magnitude improvement for performance. But that’s a lot of work and I don’t do much ml work lol so meh Someone should do it
- pjmlp 7y agoWith the caveat of being Windows only, you could have a look into C++/CLI or C++/WinRT.
- phillipcarter 7y agoHello! We're taking a look at improving these kinds of programming scenarios in F# for the next version of the language. Since F# is first-class in the jupyter experience, one of those hurdles is already done! That said, improvements to the language can only go so far. We're trying to figure out what a good set of libraries for the whole range of ML tasks looks like for F# and .NET.
- tasogare 7y agoContinue the good work :) I use mostly C# out of habit but F# is my favorite in terms of expressiveness. I'm planning a series of educational videos in French about the language because it doesn't have the exposure it merits.
- Rapzid 7y agoI've been out of the scene for a bit but last I looked Miguel had created tensorflow bindings for .Net. With some magic require incantations I was able to get that into F# and it actually worked.. Looks like there is SciSharp now and that project looks like it's heading in the right direction. The key, IMHO, is going to be getting some influential people and projects on F# generating code and blog content. The user experience of getting setup for them and the audience they reach needs to be streamlined. From there if it JustWorks™ F# should do the rest of the selling :) And to digress, because I always mention this when talking about F#, it deserves a batteries included web framework story as good as Elixir's Phoenix.
- phillipcarter 7y ago> And to digress, because I always mention this when talking about F#, it deserves a batteries included web framework story as good as Elixir's Phoenix. I'd check out Saturn for that: https://saturnframework.org/ https://saturnframework.org/