4 ms·
If I may repeat an old comment of mine, lightly edited for freshness (I dont mean to hijack this thread. It is not often that I get an opportunity to interact w
by srean 13y ago
If I may repeat an old comment of mine, lightly edited for freshness (I dont mean to hijack this thread. It is not often that I get an opportunity to interact with people on HN who are fond of OCaML or are likely to have an interest in it. This is the exact demographics who might appreciate Felix)
--
For the early adopters and experimenters amongst you, you might like Felix http://felix-lang.org/share/src/web/tut/tutorial.fdoc http://felix-lang.org/share/src/web/tut/tutorial.fdoc
The site is undergoing a major reorganization right now, so some links will break.
It is a whole program optimized, strongly typed, polymorphic, ML like language that can interact effortlessly with C and C++ and has coroutines baked in. It has type-classes as well as modules. Functions written in it may be exported as a CPython module. This might be useful if one wants to gradually transition from a Python based src tree.
Its own demo webserver is based on coroutines, this is the same webserver that serves the language tutorials. It uses a mix of lazy and eager evaluation for performance and compiles down to C++. Execution speed is comparable to hand written C++, mostly better. Its grammar is programmable in the sense that it is loaded as a library. So in the same way that languages may acquire libraries, Felix may acquire domain specific syntax.
With inaccuracies in analogies assumed, Felix is to C++ what F# is to C# or to some extent Scala is to Java.
It is also mostly a one man effort but with a feverish pace of development so it comes with its associated advantages and disadvantages.
Tooling info is here http://felix-lang.org/share/src/web/ref/tools.fdoc http://felix-lang.org/share/src/web/ref/tools.fdoc
The author likes to call it a scripting language but it really is a fullfledged statically compiled language with a single push button build-and-execute command. http://felix-lang.org/ http://felix-lang.org/ The "fastest" claim is a bit playful and tongue in cheek, but it is indeed quite fast and not hard to beat or meet C with.
--
Removing comment and putting it here to conserve real estate.
@zem
I think you just blew your cover :)
As I said its been mostly a one man effort, so there are areas that need work. Its an exciting language, welcome aboard.
@jnbiche Oh no! I am by no means the creator, just someone who finds it exciting.
- jnbiche 13y agoAssuming you're the creator, I'd highly suggest putting some code samples on the language home page, so people interested in the language can see what it looks like at a glance without wading through documentation. I'm sure you've got a million other things to do, but showing more code could help speed up adoption.
- scott_s 13y agoPlease respond to comments directly rather than trying to "preserve real estate". It makes it much more difficult to follow conversations.
- srean 13y agoNoted. I had participated in a rather contentious thread today and there the nesting had gone way out of hand. That and I did not want my comment to be the dominant conversation on this post. I got downvoted here, so its likely that my within-post conversation annoyed some. Yes, I know you didn't downvote. Its also possible I came across as a conversation hijacker. That was certainly not my intent. Have to say the blog posts are strikingly well written. In fact quite surprised how a Python aficionado takes to OcaML like duck to water so quickly. (Duck typing pun narrowly avoided)
- zem 13y agoi've been glancing at felix every so often for years now, but this week i finally took the plunge and worked through all the installation issues. it's a promising languages; definitely not production ready yet, and the combination of incomplete docs and unhelpful error messages can be pretty frustrating, but the creator is helpful and enthusiastic, and so far i'm having fun. now that i'm getting more into c++, the ability to interop with c++ libraries is a strong selling point.
- deleted 13y ago[deleted]