customasm
java-2-times-faster-than-c
Our great sponsors
customasm | java-2-times-faster-than-c | |
---|---|---|
10 | 3 | |
680 | 50 | |
- | - | |
7.8 | 0.0 | |
3 months ago | about 3 years ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
customasm
-
Defining assembly instructions has killed my love of this game ultra fast.
I'm using customasm to write code in Turing Complete.
-
I was making adder circuits in games 8 years ago in an attempt to build a computer. I finally worked my way up and built a working computer!
also if you start writing programs for your own CPUs, use something like CustomASM so you don't have to write in machine code.
-
Vending Machine - FPGA
either way if you plan on doing more CPUs and similar in the future i highly recommend CustomASM.
-
My 8-bit cpu running at full speed
The source code was in Python. I was able to debug it using Arduino-based adapter and (by using some "magic") translate into machine code binary. Since then I've switched to CustomAsm for code compilation and have other means to debug (emulator and debugger tool).
- An assembler for custom, user-defined instruction sets
-
A really good assembler/compiler
Even though technically not an emulators-related post, I'd like to share a tool I've recently learned came across and found to be really useful. It's called customasm and is open source. It can compile assembly of any kind as long as you feed it with (what's called) rules-definition. You can even write a higher level language profile (such as C, sort of) through it, the possibilities are countless, so to say.
-
Programming a breadboard computer via customasm
I've got the documentation in the wiki! https://github.com/hlorenzi/customasm/wiki/User-Guide
-
CUSTOMASM, using customasm is cool (made by hlorenzi). You write some code in assembly in a text editor, assemble, download to the breadboard computer and run it. Changing modifying or extending code goes superfast. Best programming tool sofar. Description of the code in the comment section.
Thanks to hlorenzi, making an assembler is a bunch of work. https://github.com/hlorenzi/customasm
-
Today I finished the RAM module for my 16-bit breadboard computer!
anyways, it might be a good idea to throw the entire project on Github once it's done. stuff like schematics, BOM, details about the function of the CPU, maybe an Assembler (CustomASM is pretty good), also maybe a simulator version in something like Digital or Logisim so that people can look at it, write programs, or rebuild it with different parts and such
-
I was wanting an assembler I can use with my breadboard CPU, but the only one that allowed custom ISAs is Windows only. So, I created my own assembler with Python for custom ISAs, and included a configuration file for the original instruction set of Ben Easter's SAP-1. Still a bit rough, but usable.
I used https://github.com/hlorenzi/customasm along with info from https://www.reddit.com/r/beneater/comments/cori8t/custom_asm_compiler_definition/
java-2-times-faster-than-c
-
"Clean" Code, Horrible Performance
As far as the absolute performance you have this sort of effect too. https://github.com/xemantic/java-2-times-faster-than-c
-
Is it just me or can't I find a good use for Java?
There are plenty of cases where this is clearly disproved. Here's a few.
- Java 2 times faster than C
What are some alternatives?
bespokeasm - An assembler that works with custom instruction sets.
jvm - JVM in Rust, written as a learning project.
logisim-evolution - Digital logic designer and simulator
oakc - A portable programming language with a compact intermediate representation
lam - :rocket: a lightweight, universal actor-model vm for writing scalable and reliable applications that run natively and on WebAssembly
inside-vm - Detect if code is running inside a virtual machine (x86 and x86-64 only).
Digital - A digital logic designer and circuit simulator.
OpenJ9 - Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
riscv-asm - risc-v assembly language
perling-vm - Perling VM(a.k.a Perling Runtime Environment) is a interpreter for the compiled Perling byte code
rustwasmc - Tool for building Rust functions for Node.js. Combine the performance of Rust, safety and portability of WebAssembly, and ease of use of JavaScript.
bytecoding - Derive macro for encoding/decoding instructions and operands as bytecode