The coding in binary code and assembly is necessary currentl
Moderator: Moderator Team
-
- Posts: 11
- Joined: Tue Sep 09, 2014 1:56 am
The coding in binary code and assembly is necessary currentl
...
Last edited by clark_hobby on Sun Dec 06, 2015 5:44 pm, edited 1 time in total.
Re: The coding in binary code and assembly is necessary curr
Well I don't think the devs actually program in binary.
But for the second question, I don't even know of any bare-metal software that doesn't have at least a little bit of assembly. There's very specific things you need to do, like getting the x86 processor out of real mode and setting up the bootloader. I never developed an operating system but I'm sure there's a few more things that are impossible or impractical to do in C.
That's what the Hardware Abstraction Layer in NT is for anyway, so you can write that platform-specific code and not worry about the rest of the OS being dependent on that platform.
But for the second question, I don't even know of any bare-metal software that doesn't have at least a little bit of assembly. There's very specific things you need to do, like getting the x86 processor out of real mode and setting up the bootloader. I never developed an operating system but I'm sure there's a few more things that are impossible or impractical to do in C.
That's what the Hardware Abstraction Layer in NT is for anyway, so you can write that platform-specific code and not worry about the rest of the OS being dependent on that platform.
- EmuandCo
- Developer
- Posts: 4734
- Joined: Sun Nov 28, 2004 7:52 pm
- Location: Germany, Bavaria, Steinfeld
- Contact:
Re: The coding in binary code and assembly is necessary curr
We have plenty of ASM Code where it's needed badly, like in the example Konata mentioned. The rest is WinAPI C / C++.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
If my post/reply offends or insults you, be sure that you know what sarcasm is...
If my post/reply offends or insults you, be sure that you know what sarcasm is...
-
- Posts: 11
- Joined: Tue Sep 09, 2014 1:56 am
Re: The coding in binary code and assembly is necessary curr
...
Last edited by clark_hobby on Sun Dec 06, 2015 5:44 pm, edited 1 time in total.
Re: The coding in binary code and assembly is necessary curr
[ external image ]
Like Emuand said ROS is written in C, C++, and API calls, there's only a bit of Assembly where it's required. And nobody writes in binary, the lowest you could go is hexadecimal. Most CPUs take hexcodes and turn them into binary directly, they've been doing that for decades. But everyone uses Assembly because writing in hexadecimal directly is insane.
Like Emuand said ROS is written in C, C++, and API calls, there's only a bit of Assembly where it's required. And nobody writes in binary, the lowest you could go is hexadecimal. Most CPUs take hexcodes and turn them into binary directly, they've been doing that for decades. But everyone uses Assembly because writing in hexadecimal directly is insane.
-
- Posts: 11
- Joined: Tue Sep 09, 2014 1:56 am
Re: The coding in binary code and assembly is necessary curr
...
Last edited by clark_hobby on Sun Dec 06, 2015 5:45 pm, edited 1 time in total.
-
- Posts: 11
- Joined: Tue Sep 09, 2014 1:56 am
Re: The coding in binary code and assembly is necessary curr
...
Last edited by clark_hobby on Sun Dec 06, 2015 5:45 pm, edited 1 time in total.
-
- Posts: 11
- Joined: Tue Sep 09, 2014 1:56 am
Re: The coding in binary code and assembly is necessary curr
...
Last edited by clark_hobby on Sun Dec 06, 2015 5:45 pm, edited 1 time in total.
-
- Posts: 11
- Joined: Tue Sep 09, 2014 1:56 am
Re: The coding in binary code and assembly is necessary curr
...
Last edited by clark_hobby on Sun Dec 06, 2015 5:46 pm, edited 1 time in total.
Re: The coding in binary code and assembly is necessary curr
That's not *entirely* true. There are rare instances where some freaks code in binary. It's a niche-thing and extremely rare; a fringe activity, thus, but it is/can be done, still.Konata wrote:[ external image ]
Like Emuand said ROS is written in C, C++, and API calls, there's only a bit of Assembly where it's required. And nobody writes in binary, the lowest you could go is hexadecimal. Most CPUs take hexcodes and turn them into binary directly, they've been doing that for decades. But everyone uses Assembly because writing in hexadecimal directly is insane.
You can search the internet for a few examples (and even tutorials). But even then it's clear it's a real hard-core thing, and normal humans usually go only as far as Assembly.
- EmuandCo
- Developer
- Posts: 4734
- Joined: Sun Nov 28, 2004 7:52 pm
- Location: Germany, Bavaria, Steinfeld
- Contact:
Re: The coding in binary code and assembly is necessary curr
As I said we use C language and some rare assembler code. ReactOS aims to be portable easily. I personally see no use In binary code for one CPU type. But ask the other developers too.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
If my post/reply offends or insults you, be sure that you know what sarcasm is...
If my post/reply offends or insults you, be sure that you know what sarcasm is...
Re: The coding in binary code and assembly is necessary curr
Just a random thought: could clark_hobby's skills be helpful for an x64 or an ARM ports?
- EmuandCo
- Developer
- Posts: 4734
- Joined: Sun Nov 28, 2004 7:52 pm
- Location: Germany, Bavaria, Steinfeld
- Contact:
Re: The coding in binary code and assembly is necessary curr
Depends on what assembler he is talking about.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
If my post/reply offends or insults you, be sure that you know what sarcasm is...
If my post/reply offends or insults you, be sure that you know what sarcasm is...
Re: The coding in binary code and assembly is necessary curr
Assembly would only be used for very small bits of code. What's more valuable is actually understanding the underlying architecture.
Who is online
Users browsing this forum: No registered users and 34 guests