I dont get it? 5 years javascript dev here

I dont get it? 5 years javascript dev here
is this the ultimate filter?

Attached: 1649345112625.png (225x225, 2.88K)

Other urls found in this thread:

gitlab.com/instrvmentaicari/mystdasmlib.
twitter.com/SFWRedditGifs

Yes. Why the question?

No. ASM is simple but tedious and overly verbose. I don't know what you want to do, but i already know you will never need it. Even if you program microcontrollers (you do it in C nowadays).

If you want to get closer to the metal while being capable of building things that have a value and work before you die, learn C, C++ or Rust.

this. most real world ASM is calling out to magic instructions and virtualization stuff

watching youtube videos doesn't make you a dev. if you have to ask you definitely have 0 years of experience.

also, this guy fucks

It's somewhat useful skill to be able to read it for example when symbols get wonky and it gets you funky profiler results etc etc. But you'll never need to write it.

>also, this guy fucks
what does that mean?

Attached: PochNuk.png (597x384, 350.67K)

learn how the CPU works and assembly makes perfect sense

ASM is retarded simple, I've seen people literally explain how ASM works to non-programmers in 30 minute videos. All the commands are conceptually extremely simple.

Like others have said, it's simply tedious and verbose to the extreme. If you find it harder than Javascript I don't know what to tell you. If anything I find it substantially easier to understand than JS because it is conceptually less complicated. I suppose JS is easier if you don't understand programming beyond a copy + pasting from stack overflow with no idea what's actually going on at a low level.

It can be verbose, but there are other times where it can in fact be less verbose as you don't have any programmatic beaucracy and abstractions to deal with - at least for CISC processors. RISC ones are a different matter, but those are designed with higher level languages in mind so it would be foolish to want to program in assembly on them. Plus a pain in the ass.
It's no different then putting together a puzzle. You have all the pieces, you just need to figure out how to put them together to achieve what you want. I honestly have no idea why people struggle with it so much.
You can write modern, multitasking user land programs in assembly, that has nothing to do with virtualization. You'll of course be writing c/c++ function calls in assembly as OS's are written in them, but everything else in between can be pure assembly.

Most small scale software projects in ASM are untenable for most people. Having the wherewhithal to work on and make progress on such projects takes great a sense of purpose as well as the competence to overcome the inherent drawbacks of the programming form, and to exploit its benefits.
To call it a filter is an understatement. Most developers will call it pointless and, for them, they are correct.
Totally right about it's simplicity, but with certain macros it's bearable to design more complex systems. I created a macro system which aided in just this. It allowed register independent design of functions, allowing one macro to slot into any register set you need to avoid unnecessary scratching, this alone vastly improves the development time as you don't need to, for example, re-write a bin-to-hex algorithm just to print a number to the screen.

I've long since put this, and other macro systems, into a inclusion library for my own use but I have recently decided to make all of these essentially public domain to increase the popularity of assembly programming since I am working on a project which supercedes this one. Here is that library if you are interested.
gitlab.com/instrvmentaicari/mystdasmlib.

Not interested by the lib but impressed by your work and dedication user

Asm as in assembly?
Youre comparing assembly to javascript?
Lol?

Thanks.

>You can write modern, multitasking user land programs in assembly
k but why would you?

I think you could write assembly pretty efficiently if you had an all-purpose macro-library defined first. Back in the day, some people thought those would be the computer language of the future, rather than higher-level langs

I'm just starting to learn assembly and I want to get really good at it, in order to make a compile tool chain from scratch. I plan to make a Forth interpreter, and use it to make a Lisp interpreter in which I will be able to write the compiler itself.
Any advice, on this or on getting good to assembly? Do you have a must-see ressource maybe?

bump

Why would you write such programs in C when you could use Java?
Precision, less chance of feature bloat and, tertiarily, performance.
My suggestion is to start out writing very basic things in asm, but you kind of already knew that. My first projects were on the level of hexadecimal and decimal converters. Of course, I cannot go back to writing anything in assembly without my library, so I'd recommend using that. If you use my head.ah on linux, you don't even need to worry about linking or sections, you just need to assemble and chmod the executable (Brian Raiter's Tiny ELF guide demonstrates much of how I did this). Not to mention the fact that trying to write re-usable, modular code without something like genreg.ah is borderline impossible.

In terms of resources, Felix Cloutier's x86 reference is quite good. I remember just reading through these, trying to figure out what kinds of functions I could use each instruction for. That helped a lot. There are also the Intel and AMD architecture and software development guides which help with best practices and understanding the hardware you are developing for. It's useful if you are in a hot loop and need to make a performance decision on multiple options.

Also, getting to know your assembler's macro system is invaluable. It can literally multiply the speed at which you work. Diligently read the nasmdoc pdf. It is my friend and I suspect it will be your's, too.

Finally, if you haven't already, watch What's a Creel's excellent video on branchless programming. I was learning before watching this but once I found it I went all in on assembly and never looked back.

Some people just like doing things like that.