rust-mos
adventofcode
rust-mos | adventofcode | |
---|---|---|
9 | 69 | |
51 | 14 | |
- | - | |
0.0 | 8.6 | |
2 months ago | 5 months ago | |
Rust | Python | |
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.
rust-mos
-
Ruby on the Apple II: Adventures in Retro Programming [video]
rust the compiler, hell no.
But there is an llvm-mos project to generate 6502 code and that can be used to cross compile rust code.
https://llvm-mos.org/wiki/Welcome
https://llvm-mos.org/wiki/Rust
https://github.com/mrk-its/rust-mos
- I learned to program the Commodore 64 in basic and compiled C
-
-π- 2022 Day 12 Solutions -π-
It was possible thanks to great https://llvm-mos.org/wiki/Welcome project (it adds 6502 target to LLVM). Adding 6502 support to rust was easy part :] https://github.com/mrk-its/rust-mos
-
LLVM-MOS 6502 Back end [pdf]
This is a super fun project to play around with. I'm currently trying to build a C64 sprite multiplexer in mostly straight C++ using LLVM-MOS and while it's definitely not going to be the most optimized multiplexer out there, I'm finding it most adequate performance-wise.
Whereas it's probably a long way away from being able to use this for democoding due to the mostly cycle-accurate nature of the effects, for creating homebrew games and utilities this is really quite suitable: write high-level logic and sprinkle in some inline assembly here and there for the really performance critical parts.
The code that is being generated is already quite good and (on first glance) looks better than what's coming out of cc65, for instance.
There's also rust-mos which uses LLVM-MOS to compile Rust code. It unfortunately still has some issues (e.g. [1]) but that is looking really promising as well.
Kudos to all involved :)
[1] https://github.com/mrk-its/rust-mos/issues/16
-
The Rise of Rust, the βViralβ Secure Programming Language Thatβs Taking Over Tech
The MEGA 65 doesn't appear to have shipped yet. The best data I could find is the MEGA 65 is based on a "GS4510". The "GS4510" is compatible with a "4502", which in turn is compatible with the 65CE02. The 65CE02 uses a different manufacturing process but the same ISA as the 6502, which is supported by rust-mos and lvm-mos](https://github.com/llvm-mos/llvm-mos).
-
Can you write for the Commodore 64 in Rust? Why yes, yes you can!
Using llvm-mos, rust-mos, a lot of time compiling compilers and support from Mariusz (the rust-mos author), I was finally able to program like it was 1982...
-
Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM, 38400 baud internet
This fork is handy for that. Itβs fun to play with, but you need to do a decent amount yourself to get it set up.
https://github.com/mrk-its/rust-mos
-
Can Rust do every low level stuff C/C++ do?
Thanks to llvm-mos project there is also working rust fork for MOS-6502: https://github.com/mrk-its/rust-mos/tree/mos_target, so you can target 8-bit atari and c64
- Rust on the MOS 6502: Beyond Fibonacci
adventofcode
-
[2023 Day 04 (Part 2)][Python] Need help with recursion
I tried to model my code https://github.com/djotaku/adventofcode/blob/6c5d9c6e4f2dcbbbf7383b2923829c210faab028/2023/Day_04/Python/day_04.py (specifically lines 42-56) on my solution for Handy Haversacks in 2020 Day 7, but I'm ending up with an answer of 1 instead of 30. It seems like the problem is that my totals are not carrying up the stack, but I may have something else wrong.
- -π- 2022 Day 25 Solutions -π-
- -π- 2022 Day 20 Solutions -π-
- [2022 Day 18 (Part 1)][Python] What is wrong with my math?
- [2022 Day 15 (Part 1)] [Python] Need help with my algorithm
- -π- 2022 Day 14 Solutions -π-
-
-π- 2022 Day 13 Solutions -π-
My code is here https://github.com/djotaku/adventofcode/blob/66d74babd2ed37f56858096bc5598149448b6839/2022/Day_13/Python/solution.py
- [2016 Day 25 (Part 1)][Python] I keep getting 00000 or 111111
- -π- 2022 Day 12 Solutions -π-
- -π- 2022 Day 11 Solutions -π-
What are some alternatives?
embassy - Modern embedded framework, using Rust and async.
AdventOfCode2021 - Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:
CC65-Advanced-Optimizations - How to optimize C code for CC65 compiler
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
CodeLLDB - A native debugger extension for VSCode based on LLDB
Advent-of-Code - My solutions or attempts at solutions to the Advent of Code event.
llvm-mos - Port of LLVM to the MOS 6502 and related processors
advent-of-code-cpp - C++ solutions for the Advent of Code programming puzzles - http://adventofcode.com/
aoc2022 - Advent of Code 2022
toit - Program your microcontrollers in a fast and robust high-level language.
llvm-cbe - resurrected LLVM "C Backend", with improvements
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#