|8 days ago||1 day ago|
|BSD 3-clause "New" or "Revised" License||GNU General Public License v3.0 or later|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Building React Components Using Unions in TypeScript
15 projects | dev.to | 1 Oct 2023
Naturally I’d recommend using a better language such as ReScript or Elm or PureScript or F#‘s Fable + Elmish, but “React” is the king right now and people perceive TypeScript as “less risky” for jobs/hiring, so here we are.
Is there a better way to do read-only types
3 projects | /r/typescript | 22 Jun 2023
Unless you want to switch to https://www.purescript.org/.
(strongly typed) functional language compilers running in browser
3 projects | /r/functionalprogramming | 31 Mar 2023
purescript VS purs-eval - a user suggested alternative
2 projects | 2 Mar 2023
Por que Elm é uma linguagem tão deliciosa?
11 projects | dev.to | 28 Feb 2023
My main beef with Haskell/JS
4 projects | /r/haskell | 18 Feb 2023
Assuming this is a PS knock, fwiw this went away a good bit ago: https://github.com/purescript/purescript/releases/tag/v0.14.2
10 years of Scala.js
2 projects | /r/programming | 5 Feb 2023
purerl - Integrating PureScript into Elixir projects
6 projects | dev.to | 11 Jan 2023
Ask HN: Uncommon Web Languages?
5 projects | news.ycombinator.com | 7 Nov 2022
Tons of them, but I am most interested in the following for various reasons:
PureScript — been around a long time. Looks a lot like Haskell to me.
Derw — Elm-like, interesting integration with Typescript
Amber — smalltalk for js
Rescript — its been awhile since i last looked at this project (during a catastrophic rebrand) so I'm not sure where this project is at, but it did seem very promising to me at one point.
2022 State of Haskell Survey
6 projects | news.ycombinator.com | 3 Nov 2022
Designing a SIMD Algorithm from Scratch
3 projects | news.ycombinator.com | 28 Nov 2023
Not OP, but one thing that surprised me was if you are doing rust Simd in a library, and part of the code is marked #[inline] but others are not you might see catastrophic performance regressions. We saw an issue where the SIMD version was over 10x slower because we missed marking one function as inline. Essentially rustc converted it from an intrinsic to a regular function call.
Enums in Rust – and why they feel better
2 projects | news.ycombinator.com | 23 Nov 2023
I believe it's not stable because it gives std::boxed::Box special treatment in the language. They'd rather find a solution that could work equally well for smart pointers defined outside of std.
Box patterns are likely to be superseded by one of these:
Setenv Is Not Thread Safe and C Doesn't Want to Fix It
6 projects | news.ycombinator.com | 19 Nov 2023
Rust's stdlib's API is completely safe here. On Windows, it uses the GetEnvironmentVariable/SetEnvironmentVariable API, which as you noted doesn't have this problem. On Unix, it maintains its own RwLock to provide synchronisation. Additionally, Rust's API only gives out copies of the data, it never gives you a pointer to the original.
The problem comes when you do FFI on *nix systems, because those foreign functions may start making unsynchronised calls to getenv/setenv.
Rust: JSON Web Token -- some investigative studies on crate jwt-simple.
2 projects | dev.to | 17 Nov 2023
[self-promo] Svelte + Rust for a desktop photo explorer
2 projects | /r/sveltejs | 14 Nov 2023
If you want to learn Svelte or Rust (Tauri) while building this project with us, send me an inbox!
Why Rust in Production?
2 projects | news.ycombinator.com | 9 Nov 2023
IMO it would be good to familiarize yourself with the rust quirks/features (check out the rust book) and then poke at some of the embedded specific groups. Once you get a handle on the common types and patterns it's probably easier to find the information you're looking for, e.g.:
In general Rust chases a "zero cost abstraction" ethos, so a lot of the type system niceties have no code or memory cost because the heavy lifting is done at compile time, not run time. For instance using specific traits for each GPIO pin ensures you won't accidentally apply some meaning meant for another pin, but the compiler will compile it right down to integers anyhow.
Things like options (how Rust deals with "null" values) are enums and usually incur a one byte penalty, but in some cases they can be compiled down to no overhead at all.
Officially Qualified – Ferrocene
2 projects | news.ycombinator.com | 8 Nov 2023
Why Golang instead of Rust to develop the Krater desktop app
5 projects | news.ycombinator.com | 7 Nov 2023
> I still sometimes get lifetime errors that I don’t understand.
I'd like to remind people that errors you don't understand are bugs and I'd encourage you all to file a ticket when encountering any: https://github.com/rust-lang/rust/issues/new?assignees=&labe...
A four year plan for async Rust
3 projects | news.ycombinator.com | 7 Nov 2023
As far as I know, the proposal to add one was determined to need an RFC: https://github.com/rust-lang/rust/pull/65875
Consuming an SQS Event with Lambda and Rust
7 projects | dev.to | 3 Nov 2023
I've been trying to learn Rust for the better part of this year. My curiosity peaked a few years back when I learned the AWS-led Firecracker was developed with the language. And I've continued to want to learn it ever since. Fast-forward and I'm jumping both feet in. That's usually how I work. I must admit that right now, I'm the most noob of noobs, but that's not going to keep me from sharing what I'm up to and what I'm learning. For me, this blog is as much about sharing as it is about learning and communicating to those reading that it's OK to be where you are in your journey. There are no straight lines. Only periods of growth and plateaus. In this article, I'll walk you through consuming an SQS Event with Lambda and Rust.
What are some alternatives?
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Odin - Odin Programming Language
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
Rustup - The Rust toolchain installer
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
fp-ts - Functional programming in TypeScript
go - The Go programming language
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
scala - Scala 2 compiler and standard library. Bugs at https://github.com/scala/bug; Scala 3 at https://github.com/lampepfl/dotty