LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2022, 03:01 PM   #1
1483_fourteeneightythree
LQ Newbie
 
Registered: May 2022
Posts: 18

Rep: Reputation: 0
Post 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.
 
Old 05-23-2022, 03:17 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
Welcome to this forum.

Good idea! Just do it and come back when ready so we can try it.
 
Old 05-23-2022, 04:11 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,189

Rep: Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382
All of it? Including things like KDE, or are you referring to just the base Slackware source?
 
1 members found this post helpful.
Old 05-23-2022, 05:01 PM   #4
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Quote:
Originally Posted by 1483_fourteeneightythree View Post
As I said on this thread's title I'd join provide details of the project on July 1st.
I fixed that for you.

As the project originator it is up to you to initiate the project and invite others to join, not the other way around!

Last edited by astrogeek; 05-23-2022 at 05:10 PM.
 
1 members found this post helpful.
Old 05-23-2022, 06:50 PM   #5
1483_fourteeneightythree
LQ Newbie
 
Registered: May 2022
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Jeebizz View Post
All of it? Including things like KDE, or are you referring to just the base Slackware source?
All of it . The kernel, the userland, the complete lastest stable release of Slackware.
 
Old 05-23-2022, 07:14 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by 1483_fourteeneightythree View Post
All of it . The kernel, the userland, the complete lastest stable release of Slackware.
April Fool's day was more than 8 weeks ago.
 
5 members found this post helpful.
Old 05-23-2022, 07:15 PM   #7
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
To what possible purpose?
 
1 members found this post helpful.
Old 05-23-2022, 07:59 PM   #8
1483_fourteeneightythree
LQ Newbie
 
Registered: May 2022
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by astrogeek View Post
To what possible purpose?
Reutilization of old hardware with the best GNU/Linux Distribution.
 
Old 05-23-2022, 08:06 PM   #9
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by 1483_fourteeneightythree View Post
Reutilization of old hardware with the best GNU/Linux Distribution.
You're actually serious??

Ummm... Not to rain on your parade, but the Slackware source tree is 6.2Gb... compressed.

But don't let me stop you.
 
2 members found this post helpful.
Old 05-23-2022, 08:07 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by 1483_fourteeneightythree View Post
All of it . The kernel, the userland, the complete lastest stable release of Slackware.
Pretty sure if you want this, you'll be the only one working on it.

The benefit to effort ratio is EXTREMELY lopsided.
 
2 members found this post helpful.
Old 05-23-2022, 11:18 PM   #11
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
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?

Last edited by baumei; 05-23-2022 at 11:20 PM.
 
Old 05-24-2022, 02:24 AM   #12
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
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.
 
Old 05-24-2022, 03:47 AM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,302
Blog Entries: 61

Rep: Reputation: Disabled
Great idea!!! But why not go even crazier and "translate" it all to binary?
Get one of these:
https://stock.adobe.com/images/three...ayout/60249899

Last edited by brianL; 05-24-2022 at 03:51 AM.
 
1 members found this post helpful.
Old 05-24-2022, 07:19 AM   #14
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 318

Rep: Reputation: 171Reputation: 171
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.
 
Old 05-24-2022, 08:56 AM   #15
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
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!
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Translate NASM program into GNU Assembler one Sunless Programming 2 09-21-2020 07:13 AM
LXer: Crow Translate: Desktop / CLI Text Translation App Using Google Translate, Yandex Translate and Bing Translator LXer Syndicated Linux News 0 05-11-2019 05:13 AM
cryptography... what's difference between 8bits / 16 bits / 32 bits/ 64 bits/128bits? ybpark81 Linux - Security 4 02-19-2012 08:38 AM
BASH/No X: Using google translate to convert TXT files (translate) frenchn00b Programming 10 09-13-2009 10:55 PM
to translate or not to translate HTML rblampain General 2 07-05-2007 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration