June 24th, 2024

Gren 0.4: New Foundations

Gren 0.4 updates its functional language with enhanced core packages, a new compiler, revamped FileSystem API, improved functions, and a community shift to Discord. These updates aim to boost usability and community engagement.

Read original articleLink Icon
Gren 0.4: New Foundations

Gren 0.4 introduces significant updates to its pure functional programming language, focusing on ease of learning and powerful real-world applications. The core packages have been enhanced with new features and quality improvements. The compiler is transitioning from Haskell to Gren, aiming to improve functionality and ease of contribution. The FileSystem API has been revamped with three new modules for file system operations, enhancing compatibility with NodeJS. Additionally, the compiler is being rewritten in Gren, paving the way for improved compiler functionality within Gren applications. The language guide book has been updated with new content and a new generator. The communication platform has shifted from Zulip to Discord to foster a more active community. Various improvements and additions have been made to functions like Array, Dict, and Task, enhancing performance and usability. The release acknowledges contributions from several individuals. These updates collectively aim to enhance the usability, functionality, and community engagement of Gren.

Related

Groqnotes: Generate structured notes from audio using Groq, Whisper, and Llama3

Groqnotes: Generate structured notes from audio using Groq, Whisper, and Llama3

The GitHub project "Groqnotes" is a streamlit app utilizing Groq, Whisper, and Llama3 to create structured notes from audio content efficiently. It offers rapid transcription, markdown styling, and download options. Access online or set up locally.

Show HN: Eidos – Offline alternative to Notion

Show HN: Eidos – Offline alternative to Notion

The Eidos project on GitHub offers a personal data management framework as a Progressive Web App with AI features. Customizable with extensions and scripting, it leverages sqlite-wasm technology for chromium-based browsers.

Exposition of Front End Build Systems

Exposition of Front End Build Systems

Frontend build systems are crucial in web development, involving transpilation, bundling, and minification steps. Tools like Babel and Webpack optimize code for performance and developer experience. Various bundlers like Webpack, Rollup, Parcel, esbuild, and Turbopack are compared for features and performance.

My weekend project turned into a 3 years journey

My weekend project turned into a 3 years journey

Anthony's note-taking app journey spans 3 years, evolving from a secure Markdown tool to a complex Electron/React project with code execution capabilities. Facing challenges in store publishing, he prioritizes user feedback and simplicity, opting for a custom online deployment solution.

Homegrown Rendering with Rust

Homegrown Rendering with Rust

Embark Studios develops a creative platform for user-generated content, emphasizing gameplay over graphics. They leverage Rust for 3D rendering, introducing the experimental "kajiya" renderer for learning purposes. The team aims to simplify rendering for user-generated content, utilizing Vulkan API and Rust's versatility for GPU programming. They seek to enhance Rust's ecosystem for GPU programming.

Link Icon 9 comments
By @zellyn - 5 months
If you're interested in Gren, you might also like Roc — roc-lang.org. It's a definite descendent of Elm too, although not a fork: the compiler is written in Rust, the platforms (a fascinating and powerful concept) in Rust and Zig.
By @fermigier - 5 months
I had a hunch reading the home page that Gren and Elm were related. This is confirmed by this page:

https://gren-lang.org/book/appendix/faq/#what-are-the-differ...

IMHO it should be more prominent on the hope page or the elevator pitch.

By @cies - 5 months
This (Gren), Elm (what Gren is based off), PureScript (more full featured: has Haskell's type classes), Gleam (targets both on BEAM and the browser) -- all really good attempts to fix the JavaScript problem.

https://wiki.haskell.org/The_JavaScript_Problem#The_problem

By @fire_lake - 5 months
How does Green plan to distinguish itself from OCaml given that you can transpile OCaml to JS and run it in Node today?

(I’m a big fan of MLs so this is a genuine question!)

By @anonzzzies - 5 months
I like the explanation why it is simple. In reality people won't like this because they like something like '+' to mean more things. Look at how rapidly people get 'upset' with OCaml because '+' and '+.' etc. Seems Gren does not go that far, but does not allow + for strings or any conversion (although + is for floats?).
By @Karupan - 5 months
I’ve asked this somewhere before, but didn’t get an answer. Are there plans for Gren to:

1. Improve FFI (aka Elm Kernel for everyone) 2. Support Self hosted packages 3. Implement LSP for better IDE integration?

Im cautiously optimistic about Gren, and hopefully some of these concerns can be addressed.

By @SillyUsername - 5 months
This looks like a fun language to learn if you have the time, I prefer the syntax Vs Go. I have a concern that as with most new new languages adoption and commercial support affects the uptake, a chicken and egg scenario. Early days at 0.4 but what are the future plans?
By @iamdamian - 5 months
Any plans for typeclasses?