mojo
slides
Our great sponsors
mojo | slides | |
---|---|---|
20 | 4 | |
21,199 | 292 | |
19.1% | - | |
9.9 | 2.6 | |
4 days ago | 10 months ago | |
Mojo | Haskell | |
GNU General Public License v3.0 or later | Creative Commons Attribution 4.0 |
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.
mojo
- The Mojo Programming Language
- Mojo language goes open source
-
The Mojo programming language has changed its version numbering. Release v24.1.1
https://github.com/modularml/mojo/blob/main/LICENSE Is this not it?
-
Dada, an Experiement by the Creators of Rust
Interesting, but the intent seems similar to Chris Lattner's new Mojo language which arguably has similar characteristics and is further along in its development.
https://docs.modular.com/mojo/
-
Mojo - A New Programming Language for AI
Mojo is a programming language that combines the performance and control inherent in systems languages like C++ and Rust with the flexibility and simplicity of use typical of dynamic languages like Python. Because of its combination of performance, extensibility, and usability, its design makes it possible to construct high-performance systems, which makes it a good option for AI development.
-
Mojo is now available on Mac
If you take a look at the optimized Mojo code doing the matrix multiply [1], it takes an expert to understand. It’s not just some simple for-loops in Mojo they’re comparing against.
[1] https://github.com/modularml/mojo/blob/5ce18c47a27c0c4123de1...
-
Programming Languages Every Developer Should Watch Out For
Mojo truly unlocks a world of possibilities in high-performance computing.
-
A Gentle Introduction to Liquid Types
For a concrete example of Liquid Haskell, see how Gabriella Gonzalez safely removed bound checks of high-performance protocol parsing, in "Scrap your Bounds Checks with Liquid Haskell" [1].
With Liquid Haskell, the bound checks are moved from runtime to compile time, semi-automatically handled by SMT-solvers. With static types, programmers can write correct programs faster, and the programs also run faster.
As an aside, speeding up programs with static analysis (constrained dynamism) are also present in Mojo (a variant of Python) or Swift [2].
[1]: https://github.com/Gabriella439/slides/blob/main/liquidhaske... "Scrap your Bounds Checks with Liquid Haskell"
[2]: https://github.com/modularml/mojo/discussions/466 "Mojo and Dynamism"
- Mojo and Dynamism
slides
-
A Gentle Introduction to Liquid Types
> static analysis isn't going to deal with every scenario like access based on inputs.
Not true.
With proper abstraction, static analysis proves the absence of bugs under all relevant inputs, which gives stronger guarantees than testing at development time (which only checks for a number of inputs), and is lighter than runtime checks (without runtime overhead).
An example is the use of a static type system, which eliminates a whole class of bugs under all possible values of the same type (those due to type mismatch: passing an integer into a function expecting a string), which is stronger than a test suite testing certain inputs, and does not have runtime overhead (unlike runtime checks).
Going further than usual type systems, people study refining types by possible values (such as positive integers as a refinement of all integers), and the result is refinement types, which is what Liquid Types is based on. And you can see this in action in the full example [1], such as { n : Int | 0 <= n } which refines n to be a positive integer.
[1]: https://github.com/Gabriella439/slides/blob/main/liquidhaske... "Full program - Scrap your Bounds Checks with Liquid Haskell"
PS: I figured that setting the record strict may benefit others, such as https://news.ycombinator.com/item?id=37380176.
What are some alternatives?
Flask - The Python micro framework for building web applications.
node - Node.js JavaScript runtime ✨🐢🚀✨
go - The Go programming language
CPython - The Python programming language
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
mdbootstrap - React 18 & Bootstrap 5 & Material Design 2.0 UI KIT
PHPT - The PHP Interpreter
quickserv - Dangerously user-friendly web server for quick prototyping and hackathons
Coconut - Simple, elegant, Pythonic functional programming.
Django - The Web framework for perfectionists with deadlines.
defects4j - A Database of Real Faults and an Experimental Infrastructure to Enable Controlled Experiments in Software Engineering Research
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.