Live data from Hacker News

Roc – A fast, friendly, functional language

roc-lang.org

51–60 of 180 posts

Re: Roc – A fast, friendly, functional language

#51
post #9

If you are interested, «why yet another programming language?». The unique selling point of Roc is clever optimization to convert purely functional source code to deep-imperative fast machine code, while keeping all the correctness of functional algorithms. See this video of Richard Feldman for details — «Outperforming Imperative with Pure Functional Languages»: https://www.youtube.com/watch?v=vzfy4EKwG_Y Among those…

[deleted]

Re: Roc – A fast, friendly, functional language

#52
post #26

Earlier quoted context omitted.

No doubt everything could've been learned and heeded by now, I think it's really, really, really hard to say "OK, so then everyone should go and try to raise $4000/mo for the new project they have." Even just using a programming language is an investment of time and trust, too, lest you want to wind up stranded on some-old-version-of-Elm island with tens of thousands of lines of code. Elm also seemed very promising i…

This is how I feel too. Sure, it was 5 years ago and things might have changed, but there are a ton of other technologies and languages to learn, so why not learn something without all of that previous drama? These things indeed might take a significant time inventment so I'll just focus on something I know might be more interesting or durable.

I would not even have known about this drama without the person who reminded us of it. That said, I still do not care about it at all.

Imagine me not using Linux because of Linus being harsh (yet educative) to some people... or not using OpenBSD because of Theo... or not using Common Lisp because of #lisp... :P I have received some hostile feedback personally, but they were in the right. I did not take it to heart but I learned from it.

That said, I have checked the edit history and I cannot see what the fuss is about. Welp. Moving on.

Re: Roc – A fast, friendly, functional language

#54

Has anyone else noticed that functional languages go heavy on the special keywords and operators? It feels like theres a larger cognitive load (more specific keywords to memorize) when learning languages like F# or OCaml compared to C or Python or Java

Actually they both (and OCaml has a whole lot of almost never used OOP - that's where the O comes from) have _way_ less "syntax" than Python or Java.

Re: Roc – A fast, friendly, functional language

#55
post #38

Looks interesting. I'm a huge fan of F# and think anything working in that hybridish space is the way to go. I'll have to dedicate some more time to this when I get a moment.

I've been on the F# website for 5 minutes now looking through damn near every page and I cannot find a single page that shows me a simple example program or the syntax at all.

Everything is hidden behind some kind of "let's get started!" wizard. https://dotnet.microsoft.com/en-us/learn/languages/fsharp-he...

Re: Roc – A fast, friendly, functional language

#56

Interesting divide-by-zero behavior when I use the interpreter in the webpage: » 1/0 1000000000000000000 : Frac *

Oops, that's a bug - just opened an issue for it: https://github.com/roc-lang/roc/issues/6027 Thanks for pointing it out!

You won't like the result of `0/0` either ;)

Re: Roc – A fast, friendly, functional language

#57

I don't know, after having used Elm and seeing the community accused of "hostile attacks" by one of the main contributors (who is the creator of Roc now) [0], I don't feel that it's worth my time to put into learning it, even if it is objectively good; I simply cannot know what the creators will do (or refuse to do, in the case of Elm) in the future, especially in a BDFL governance paradigm. This was in fact why I st…

Wow, this is depressing to read. :( 5 years ago I was upset and posted a comment that was unfairly harsh to another commenter. I apologized at the time, and I meant it. I definitely should not have made the harsh comment that I did. It was wrong. There's no excuse for my having written it. There are a lot of people working on Roc other than me. I'm not even the top committer anymore. [0] I hope you can find it in you…

Thanks for this comment. Personally, I appreciate how human and humble your response is, and Roc looks great.

Re: Roc – A fast, friendly, functional language

#58
Looks cool but I am somewhat weary of languages that are so wholly dependent on whitespace for significance. I say this as a Python user... but my favorite part of Lisp is the homoiconicity. Things become very intuitive ... whereas the syntax of a language like this takes much longer to grok.

Re: Roc – A fast, friendly, functional language

#59
post #26

Earlier quoted context omitted.

No doubt everything could've been learned and heeded by now, I think it's really, really, really hard to say "OK, so then everyone should go and try to raise $4000/mo for the new project they have." Even just using a programming language is an investment of time and trust, too, lest you want to wind up stranded on some-old-version-of-Elm island with tens of thousands of lines of code. Elm also seemed very promising i…

This is how I feel too. Sure, it was 5 years ago and things might have changed, but there are a ton of other technologies and languages to learn, so why not learn something without all of that previous drama? These things indeed might take a significant time inventment so I'll just focus on something I know might be more interesting or durable.

Wait till you find out about Linux

Re: Roc – A fast, friendly, functional language

#60

Earlier quoted context omitted.

This is how I feel too. Sure, it was 5 years ago and things might have changed, but there are a ton of other technologies and languages to learn, so why not learn something without all of that previous drama? These things indeed might take a significant time inventment so I'll just focus on something I know might be more interesting or durable.

I would not even have known about this drama without the person who reminded us of it. That said, I still do not care about it at all. Imagine me not using Linux because of Linus being harsh (yet educative) to some people... or not using OpenBSD because of Theo... or not using Common Lisp because of #lisp... :P I have received some hostile feedback personally, but they were in the right. I did not take it to heart bu…

It's very easy to say this having not invested anything into Elm and not been there. I'm just thankful that most of what I invested in Elm was only time, and we never actually wound up deploying Elm to the frontend.

Forget about all of the drama, imagine if you used Linux and it stopped updating at 2.6. Elm has been at 0.19 since 2018, and that's not because there's nothing left to improve on.

Post reply on HN