![]() Now, together with Alex Swan, ncave is working to compile F# to Rust through Fable. Ncave is a long time contributor to F# and Fable community and is responsible for some of their most important achievements, like self-compiling the F# compiler to JS to power the F# and Fable online REPLs. There are already a number of libraries and projects compatible with Fable Python and you can try it right now with several examples that use F# to write multi-purpose applications like a web server with Flask, a visualization with Tkinter or IoT with BBC micro:bit. We're particularly interested in interactive programming and are actively exploring this area (you can also check. NET have made big improvements in Python stronghold areas like Machine Learning, being able to access the numerous well-documented and battled-tested Python libraries and tools is invaluable. ![]() Why is it interesting to compile F# to Python? Python is one of the most used programming languages in the world and counts with an according community and ecosystem. And since Fable 3 made it easier to extend Fable, Dag has been working on adding Python support, which is currently very close to JS in unit test parity. The first attempt was Expression, a library that lets you use many of F#/Functional patterns with Python. Pythonĭag Brattli strongly believes that F# can make for a better Python and has been working on better integration between the languages for several years now. So if you're using ReactComponent attribute in your project, it won't work yet with Snake Island. But there won't be many JS new features (except for JSX compilation, see below) and compiler plugins do need to be updated. In principle, everything should work the same as we're aiming for no breaking changes. Please see below for specific details about each of the new language targets and how you can try each one.ĭon't update your current Fable JS projects just yet. This is great too and we hope it can also happen in the future for Python, Rust or Dart! Some of them have fully crossed the bridge and become Typescript/JS experts. Although it makes for a good catch-phrase, Fable wasn't born to make F# "the One to rule them all", instead we'll be most happy if Fable can be a bridge for F# developers to explore other worlds beyond. We also believe that, same as it happened with JS, the interaction with other ecosystems and communities is tremendously beneficial for the F# language and developers. ![]() The ultimate goal is to convert F# into a super-powerful DSL you can use to design your programs and algorithms and still have the freedom to choose the platform you want to run your code on. If you've been following us on Twitter you probably know this is the most ambitious Fable release to date, extending the compilation targets for F# beyond JS, to include languages like Python, Rust or Dart. Today we're announcing the alpha release of Snake Island, codename for Fable 4. Hey there everybody! It's been a while without Fable news but we're bringing you something today that we hope will get you excited. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |