Live data from Hacker News

Felix - a fast scripting language

felix-lang.org

1–10 of 88 posts

Re: Felix - a fast scripting language

#3
@nmcfarl thanks for resubmitting with a different url. I find the home page a bit baity but the tutorial page http://felix-lang.org/web/tutorial.fdoc is great.

Depending on how you look, it is C++ speed OCaML, or perhaps more correctly C++ in a fully type-inferred (unfortunately, nowadays almost everything gets called type-inferred. Hence the added qualification "fully"), ML like language.

It does whole program optimization. It uses a mix of lazy and eager evaluation strategies for speed.

I believe it can generate Python modules too, thanks to how well it interacts with C. The details have to be gleaned from the mailing list though.

Re: Felix - a fast scripting language

#5
post #3

@nmcfarl thanks for resubmitting with a different url. I find the home page a bit baity but the tutorial page http://felix-lang.org/web/tutorial.fdoc is great. Depending on how you look, it is C++ speed OCaML, or perhaps more correctly C++ in a fully type-inferred (unfortunately, nowadays almost everything gets called type-inferred. Hence the added qualification "fully"), ML like language. It does whole program optim…

I was actually using submissions as a poor man’s substitute for HN search :)

I found the tutorial ( http://felix-lang.org/web/tutorial.fdoc ) to be a bit info sparse when I had no clue what I was looking at. Once I’d poked a round a bit it was much better, and started answering questions I was having - mainly how FFI is handled: http://felix-lang.org/web/nutut/intro/intro_01.fdoc

A very cool project.

Re: Felix - a fast scripting language

#8

Out of curiosity: How did you generate the slides?

The webserver, which is written in Felix, translates a particular format called "fdoc" to create the tutorial and slides, including embedded colourised hyperlinked Felix and C++ code. The translation is to a mix of HTML5 and Javascript. This link shows the source of the first slideshow:

http://felix-lang.org/web/slides/language-overview.fdoc?text

All the documentation and layout needs a lot more work. [BTW: I'm the primary developer]

Re: Felix - a fast scripting language

#9
post #7

Love at first sight, but the build script is broken. http://pastebin.com/raw.php?i=WzB5Jqyf

It works with this:

~/felix>python3 Python 3.2.3 (v3.2.3:3d0686d90f55, Apr 10 2012, 11:25:50) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin

and also on Linux with this:

skaller@felix:~$ python3 Python 3.2.3 (default, Oct 19 2012, 20:10:41) [GCC 4.6.3] on linux2

I have been told that the script fails if you use a slightly different version of Python:

  File "/usr/lib/python3.3/subprocess.py", line 906, in communicate
So it is an incompatibility in Python 3.3 subprocess module I think.

Re: Felix - a fast scripting language

#10
post #8

Out of curiosity: How did you generate the slides?

The webserver, which is written in Felix, translates a particular format called "fdoc" to create the tutorial and slides, including embedded colourised hyperlinked Felix and C++ code. The translation is to a mix of HTML5 and Javascript. This link shows the source of the first slideshow: http://felix-lang.org/web/slides/language-overview.fdoc?text All the documentation and layout needs a lot more work. [BTW: I'm the p…

All the documentation and layout needs a lot more work.

Yes, clicking links to get a small page of content to only find another link to click .. gets old really fast. (Old as in it feels like the Java documentation circa 2001)

Post reply on HN