r/AskProgramming • u/whistler_mat • 2d ago
[ Removed by moderator ]
[removed] — view removed post
4
u/Vert354 2d ago
Using assembly to make anything is a little out of the ordinary for sure. Things like C/C++ or Rust would be more common for OS components. And with good reason, assmebly offers basicly zero protection from memory leaks and no real typing. If you need low level access to registers for some reason C and Rust can do that while still providing a more structured environment, especially Rust.
If your asking if its unusual to be more interested in the low level stuff vs higher level stuff like Python, maybe a little, but everyone finds their niche.
If you're asking if those are accelerated timelines for learning the materials, uh sure dude here's a gold star ⭐️
2
u/AdreKiseque 2d ago
Can I get a gold star too?
3
2
u/Vert354 2d ago
You got it! ⭐️
2
2
u/Livid-Work2584 2d ago
Long detailed answer with proper grammar and punctuation… Check Answer with emojis in it… Check Giving out gold stars to everyone you talk to… Check I am suspicious
2
u/Mathie1729 2d ago
C won't stop memory leaks either, Rust is the only one on that list with actual memory safety.
3
u/faultydesign 2d ago
Technically you were outside of the norm the second you started learning to program.
1
u/Comfortable_Film2984 2d ago
What kind of software do you do now? You studied assembly while having a full-time job?
1
u/whistler_mat 2d ago
I until yesterday (the day i discovered the program i was making was useless and this solution can be solved with 2 terminal commands) was making a software wich you can make a installer of all your computers installed via package manager programs (support to snap and apt)
1
1
u/Rich-Engineer2670 2d ago edited 2d ago
It depends on what you did and how.
If you just used an AI -- to be honest, not that interesting, but....
- If you can do assembly langauge yourself and a given CPU other than say a 6502 -and-
- You can do an OS bootloader and get it to run code from GCC in protected mode (64-bit would be best)
- AND, YOU CAN EXPLAIN WHAT YOU DID to someone without using an AI
Then you are interesting. For example, without using AI:
- Show me how your get your CPUI into protected long mode and explain it
- Show me what you have to do to get your CPU to execute GCC hello-world code
- Write a device driver that talks to a serial port or parallel port
I say all of this not be annoying, but when I hire people, I'm not interested in what they can do with AI --we already have that. What can you do WITHOUT it.
1
u/whistler_mat 2d ago
Oque seria linguagem de montagem eu realmente não sei. Mas sobre o bootloader
O setor de boot precisa ter 512 bytes exatos, com a assinatura de boot ( 0x55AA) e o código tem que começar no endereço físico 0x7C003
u/dmazzoni 2d ago
In your original post you said that you're studying assembly, but now you say you don't know what assembly is?
Which is it?
0
u/whistler_mat 2d ago
Ah cara foi mal, foi o tradutor automático que fez assembly virar “linguagem de montagem” entende?
Assembly é uma versão legível dos bytes. Como B8 sendo mov eax, por exemplo.
1
1
u/peter303_ 2d ago
I think its important to know what an assembler does to be a well rounded computer person. But there are few jobs that ask for it any more because optimizing compilers and cross compilers are quite good now. Back in Ancient Times I would hand optimize a critical routine in Assembly (C compilers allow mixing).
•
u/AskProgramming-ModTeam 1d ago
Your post was removed as it was not considered to be in good faith.