Lets translate all of the latest Slackware 64 bits stable version source code to Assembler. I'll join the project on July 1st...
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Lets translate all of the latest Slackware 64 bits stable version source code to Assembler. I'll join the project on July 1st...
...and today is 23-05-2022 at 16:52:28 (Cordoba, Cordoba, Argentina timezone), at least according to the Motorola G5 Plus running LineageOS 17.x (rom downloaded from the XDA Forum).
<off-topic>I've written something, however it is in spanish.
I don't know if I'm going to translate it to english before June 28th.
My facebook username is fourteeneightythree if you want to check the spanish version of the last FB post on my profile.</off-topic>
On-topic:
Would the Slackware team and its users want to help me translate all of the latest release of Slackware 64 sourcecode to Assembler?
Or maybe we should port the i386 version of the sourcecode and then build the 64 bit Assembler from there?
Kind regards.
Maybe this would be the new 1337 (shall we call it 1338?)
As I said on this thread's title I'd join the project on July 1st.
Last edited by 1483_fourteeneightythree; 05-23-2022 at 03:03 PM.
Somewhere over the years I was given to understand that a high quality compiler will produce optimized machine code which will rival that produced from the assembly language code written by a very good programmer.
The problem with assembly language is: relatively few people are able to do a good job writing in it, and/or in modifying existing code. Whereas most humans find it much easier to work in the high level programming languages, than with assembly language.
Even if a crack-team of programmers quickly rewrites the entirety of the existing version of Slackware into assembly language --> who on earth is going to maintain it for the next 5 or 10 years?
The biggest question is: has the Slackware Team the intention and the human and logistic resources to fork the entire open source, Linux and GNU ecosystem and Slackware Linux to become an unique Slackware OS? Most certainly NOT.
And I remember that at a Linux conference in AD 2019 a speaker said that a single programmer needs 20 years ONLY to read carefully the Linux kernel source code. This big was 3 years ago the work of Mr. Torvalds. Probably now it's even bigger. And this is only the kernel.
Probably there are needed hundred of thousands of fine assembler programmers to rewrite in reasonable time (10 years?) a modern Linux distribution in assembler language.
Did you people can imagine the logistics of maintaining a project with hundred of thousands programmers working full time? And who will pay them? The Slackware, Inc. ?
Heck, let's make a distinction between reality and science-fiction!
Last edited by LuckyCyborg; 05-24-2022 at 03:45 AM.
I think I am correct in saying that different CPU architectures use different assembly language system calls.
e.g in 64 bit Linux to use SYSCALL, first put the system call number in RAX, then the arguments, if any, in RDI, RSI, RDX, R10, R8, and R9, respectively, whereas in 32 bit Linux it's EAX for the call number and EBX, ECX, EDX, EDI, and ESI for the arguments...
To rewrite the whole of Slackware would get very complicated very quickly.
If you really are that eager to port any code to assembly language, why not start with something simple, say the echo command, to get a feel for it?
Then select something just a little bit bigger and try that? And so on?
I'm sure that, at some point, you'll find that it becomes far too much effort, and it will take far too long, to ever get a significant portion of such a massive collection of codebases done. Still, if you really make a serious effort at trying the simple stuff first, I'm sure you will become quite good at programming in assembly language, and at debugging!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.