Linux serverlinux web serverNETWORK ADMINISTRATIONS

Introduction to Roc Programming Language by Richard Feldman

Richard Feldman introduces the Roc programming language as a fast, friendly, and functional language in active development, featuring a small ecosystem. He covers Roc’s syntax, emphasizing assignments, list.map, and lambdas, while highlighting its purely functional nature. Roc’s error handling and type inference capabilities are discussed, showcasing how the compiler infers types and prevents errors from spreading. Roc supports different workflows, accommodating both low ceremony and robust error handling approaches. The platform design allows for standalone executable builds with secure IO primitives, enabling safe execution of scripts downloaded from the internet. Despite being a work in progress with occasional compiler crashes, Roc has inspired Richard, particularly for projects beyond front-end web development.

Introduction to Roc Programming Language
https://www.roc-lang.org/

Richard Feldman
Creator of the Roc programming language. Author of Elm in Action.

https://github.com/rtfeldman
https://www.linkedin.com/in/rtfeldman/

Video sponsor – Ada Beat
https://adabeat.com

Merch
If you want to spread functional programming and support the channel, buy something from the shop:
https://funcprogsweden.myspreadshop.net/

Chapters:
00:00 Introduction by Magnus Sedlacek
00:24 Let’s roc away
00:36 Introduction to Roc Programming Language by Richard Feldman
01:36 fast friendly functional
03:50 Hello world
06:38 Webserver
12:19 Json
17:24 Type interference
23:18 Type annotation
28:28 Error handling
42:57 Roc REPL
45:00 Platforms
51:20 Rocci Bird
54:07 Roc lang
55:27 Q&A

#funcprogsweden

source

by Func Prog Sweden

linux web server

9 thoughts on “Introduction to Roc Programming Language by Richard Feldman

  • It will be interesting to see the governance model for this language. I have used Elm in the past. Richard was also part of the Elm team. Elm is “public source” and not open source. You can not meaningfully contribute to the language if you are not part of the team. It is also the only language I know where FFI can only be used by packages that the language authors write. I will not use any language that has not reached 1.0 yet if I’m not comfortable that I can fix the bugs in the language that I run into.

  • it's unusual to follow along with a video where the person live coding is using 1 release ahead of what the github pushes for every package lol

    I guess this video will stay relevant for longer that way though

  • Richard Feldman is such an engaging and captivating presenter. He comes across as congenial and curious and it's always a pleasure to watch his talks. Really rooting for roc and I can see it's getting to a point where I could start using it myself!

  • Very interesting.

    If I’m not mistaken, different platforms could have completely different implementations of Stdin and Stdout?

  • It is amazing, looks like a dream came true.

  • Wonderful talk, Richard is always on point, super engaging and insightful. Gotta turn off copilot though 😅

  • I'm very excited to watch this through. Roc, along with Zig, is one of the newer programming languages that's grabbing my attention!

Comments are closed.