mech
letlang
Our great sponsors
mech | letlang | |
---|---|---|
5 | 12 | |
200 | 157 | |
2.0% | - | |
7.0 | 7.9 | |
6 months ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
mech
-
Reactive Programming Without Functions
There's also https://github.com/mech-lang/mech which is a sort of descendant of Eve https://witheve.com/ . That too seems to be getting close to hiatus. It's a bit of a shame since it seems like quite a nice paradigm for some stuff like GUIs, interactive stuff, and discrete event simulation, but I suppose the paradigm is both a bit obscure and different enough from everything else that it becomes a "boil the ocean" situation where one or a few people try and hack away but aren't really able to get much traction and eventually tired themselves out.
-
What features would you want in a new programming language?
You should take a look at the language Iām developing, Mech: https://github.com/mech-lang/mech
-
How do you think of concurrency and parallelism and what would your dream syntax be for it?
I'm working on a language called Mech (github.com/mech-lang/mech) that is semantically parallel and asynchronous first. You can write something like this:
-
Mech Lang Spring Update: On the Road Toward Beta!
Hi everyone. I've posted here a couple times about my language Mech, which you can find here. I've just put together an update which I hope this community will find interesting!
-
Frustration: One Year with R
> HN readers - do you have an "up and coming" language that you think has better structured the fundamentals from R, that you hope will someday have enough capabilities you can use it instead of R?
Hope is the operative word here!
I'm writing a language to compete in this area. It's called Mech and I'll be releasing the first beta in October. You can think of it like Matlab + Excel. It's very fast, has default-parallel semantics for operators and functions, and supports full interactive coding with no startup/compilation latency issues. It's meant for robots, but I've also designed it to be a better Matlab, and I think it should take on R handily. Fair warning, it's public alpha now so error messages are sparse and the happy path is narrow.
https://github.com/mech-lang/mech
letlang
-
Letlang ā Roadblocks and how to overcome them - My programming language targeting Rust
That works for any types (except the functional types), and even the generic ones. During code generation, I create structs that implement the Type trait.
-
A new milestone for Letlang (targeting Rust) - Effect Handlers
As stated on the website ( https://letlang.dev ), Letlang is a general-purpose language.
-
Writing a simple Lisp interpreter in Rust
Author here, the article is more about how Rust and its ecosystem are nice tools for language designers rather than the beauty of Lisp.
The crates listed in that article are the ones I use for my compiler: https://letlang.dev
Lisp was only chosen as a way to demonstrate the power of those crates and Rust features. A kind of way of justifying my choices for Letlang.
It's not "you should do it like this" but "you can do it like this".
-
Ask HN: Possible? Faster than C, simpler than Python, safer than Rust
"Faster than C", I saw people write C code slower than a Python equivalent. So I have to admit, I don't know what it means for a language to be fast, because it depends on the algorithm being implemented.
---
"simpler than Python", what does "simple" mean?
Simple design? Python's design is very complex (take a look at "Crimes with Python's pattern matching" < https://www.hillelwayne.com/post/python-abc/ > for example), on the other hand, assembly languages, or Lisp, or Forth, have a very simple design.
Simple as in "easy to use"? Rust is easy, write code, fix what the compiler tells you you did wrong. Joke aside, Go is quite easy to use and while I personally don't like this language, I get why it replaced Python in a lot of use cases.
Also, once you get used to the OTP framework, Erlang/Elixir/Gleam/any beam language are quite easy to use and have less footguns than Python.
---
"safer than Rust" is too vague. Is it memory safety? type safety? thread safety? cosmic ray safety? A mix of all of that?
Let's guess you meant "memory safety". All languages with a Garbage Collector are "memory safe".
---
On a semi-unrelated note, I've been working on https://letlang.dev
It's a language inspired by Erlang/Elixir (same concurrency model) that compiles to Rust code (the runtime use tokio). It is immutable, have no Garbage Collector thanks to Rust semantics, and dynamically typed.
I haven't run any benchmark (it's not even finished, I've been working on the specification before continuing the implementation), but I guess it could be slower than a rock.
---
For some recommendations, have you looked at Zig? Nim? Hare?
https://ziglang.org/
-
Syntax for defining algebraic data types
In my language (Letlang), I use the keyword class with structural pattern matching and optionally a predicate. Types (or rather, classes) can be combined with logical operators &, |, !:
-
Erlang's not about lightweight processes and message passing
Not sure this is what GP is talking about but to implement the actor model in https://letlang.dev I use tokio.
-
Features you've removed from your lang? Why did you put them in, why did you take them out?
In the early drafts of Letlang, I had the goal to add an equation solver. I got rid of that because:
-
What features would you want in a new programming language?
I'm working on a programming language inspired by erlang and which compiles to Rust: https://letlang.dev
-
Six programming languages Iād like to see
For a contract based language and a "really dynamically typed language", I'm working on https://letlang.dev
And it's because I haven't thought yet about how to do static type checking with such a feature.
I haven't got any time to work on it in the past few weeks, and I'm the only dev (would really love some help). So, it will be ready when it will be ready :P
-
Hello Letlang! My programming language targeting Rust
I use Rust generators to implement them, a rudimentary example: https://github.com/linkdd/letlang/blob/main/letlang_runtime/src/utils/entrypoint.rs
What are some alternatives?
cheatsheets - Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/.
zigself - An implementation of the Self programming language in Zig
Frustration-One-Year-With-R - An extremely long review of R.
scenebuilder - Scene Builder is a visual, drag 'n' drop, layout tool for designing JavaFX application user interfaces.
ggplot2-book - ggplot2: elegant graphics for data analysis
cells - A Common Lisp implementation of the dataflow programming paradigm
COVID-19 - Plots and analysis relating to the pandemic
power-fx-host-samples - Samples for hosting Power Fx engine.
tidyr - Tidy Messy Data
impulse - Impossible Dev Tools for React and Tailwind
forcats - šššš: tools for working with categorical variables (factors)
halo - An experimental graph-based meta programming language