What's the programming language Linux Mint has been coded in?
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
What's the programming language Linux Mint has been coded in?
Is it actually possible to access and see the source code of Linux Mint?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: What's the programming language Linux Mint has been coded in?
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
- shawnhcorey
- Level 4
- Posts: 217
- Joined: Thu Jun 17, 2010 11:23 am
- Location: The Great White North
- Contact:
Re: What's the programming language Linux Mint has been coded in?
With some bash and Perl thrown in on the side.smurphos wrote: ⤴Sun Apr 22, 2018 5:00 am https://github.com/linuxmint
Python, JavaScript and C mainly
Don't stop where the ink does.
Re: What's the programming language Linux Mint has been coded in?
The above link was only for the software developed by Linux Mint. GitHub recognizes the use of Bash, C, C++, CSS, JavaScript, Perl, Python and Vala as programming languages for Linux Mint's developed software.
But Linux Mint is built on top of Ubuntu and Debian. With well over a thousand additional pieces of software installed from Ubuntu or Debian repositories on your system. While a lot of those will also use have been written use the above programming languages, there are even more programming languages used for all the available pieces of software from those repositories.
But Linux Mint is built on top of Ubuntu and Debian. With well over a thousand additional pieces of software installed from Ubuntu or Debian repositories on your system. While a lot of those will also use have been written use the above programming languages, there are even more programming languages used for all the available pieces of software from those repositories.
Re: What's the programming language Linux Mint has been coded in?
What he said. ALso, if you really want to understand Linux you'll need to understand the kernel. Technically Linux is really just the kernel. Mint/ubuntu et al are GNU/Linux.xenopeek wrote: ⤴Sun Apr 22, 2018 5:44 pm The above link was only for the software developed by Linux Mint. GitHub recognizes the use of Bash, C, C++, CSS, JavaScript, Perl, Python and Vala as programming languages for Linux Mint's developed software.
But Linux Mint is built on top of Ubuntu and Debian. With well over a thousand additional pieces of software installed from Ubuntu or Debian repositories on your system. While a lot of those will also use have been written use the above programming languages, there are even more programming languages used for all the available pieces of software from those repositories.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
-
- Level 4
- Posts: 492
- Joined: Tue Mar 20, 2018 2:28 pm
Re: What's the programming language Linux Mint has been coded in?
I would not think Python nor JavaScript as these two languages are not compiled.smurphos wrote: ⤴Sun Apr 22, 2018 5:00 am https://github.com/linuxmint
Python, JavaScript and C mainly
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)
Re: What's the programming language Linux Mint has been coded in?
What does compiled vs interpreted have to do with whether Linux Mint (parts) are written in it? All Cinnamon applets are written in JavaScript for example (the menu, the window list, and so on) and Software Manager, Update Manager, Software Sources and many more programs are all written in Python.
-
- Level 4
- Posts: 492
- Joined: Tue Mar 20, 2018 2:28 pm
Re: What's the programming language Linux Mint has been coded in?
I just thought an OS should run in machine code for speed. There will always be speed compromise using interpreted code.xenopeek wrote: ⤴Tue Apr 24, 2018 3:28 pm What does compiled vs interpreted have to do with whether Linux Mint (parts) are written in it? All Cinnamon applets are written in JavaScript for example (the menu, the window list, and so on) and Software Manager, Update Manager, Software Sources and many more programs are all written in Python.
But apparently, I'm wrong in the case of Linux Mint, as you have revealed now.
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)
Re: What's the programming language Linux Mint has been coded in?
The OS is running in machine code. The OS itself, and many of the applications, are written in C and/or C++, and compiled to machine code. But interpreted languages are fine for many applications that aren't time critical. I wouldn't write interrupt handlers in Python or JavaScript, but for the Update Manager and that sort of thing they are fine.mediclaser wrote: ⤴Wed Apr 25, 2018 12:17 am I just thought an OS should run in machine code for speed. There will always be speed compromise using interpreted code.
When I had a Commodore VIC-20 (years ago), I wrote a routine in BASIC to toggle a pin on the printer port: set pin high, set pin low, repeat. As I recall, the output frequency was about 1 kHz, which is not bad at all for interpreted code running on an 8 bit microprocessor running at 1 MHz.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
- shawnhcorey
- Level 4
- Posts: 217
- Joined: Thu Jun 17, 2010 11:23 am
- Location: The Great White North
- Contact:
Re: What's the programming language Linux Mint has been coded in?
Scripting languages (Bash, Python, Perl) are often used to adapt the distro to the hardware, to set their configuration files. As such, they are only run when hardware is added or removed. This, of course, is not time critical.
Don't stop where the ink does.
Re: What's the programming language Linux Mint has been coded in?
The OS is Linux (kernel.org). The distribution is Linux Mint.mediclaser wrote: ⤴Wed Apr 25, 2018 12:17 amI just thought an OS should run in machine code for speed. There will always be speed compromise using interpreted code.xenopeek wrote: ⤴Tue Apr 24, 2018 3:28 pm What does compiled vs interpreted have to do with whether Linux Mint (parts) are written in it? All Cinnamon applets are written in JavaScript for example (the menu, the window list, and so on) and Software Manager, Update Manager, Software Sources and many more programs are all written in Python.
But apparently, I'm wrong in the case of Linux Mint, as you have revealed now.
Additional Info: viewtopic.php?f=213&t=267520#p1459228
There is a project called Linux From Scratch, which shows how to build a basic "linux system". You can read it online or download. The next project is Beyond Linux From Scratch, which then describes how to install user applications. This is everything that makes up a distribution.
Linux Mint has a Development Center.
Most man pages will show the software's home page and the home page will have links to the source.
Or select version at https://packages.ubuntu.com/ and select a package. There will be a link to home page, thus the source. Some times you can guess the language based on the dependencies. If you run
dpkg-query -W -f='${binary:Package} ${Homepage}\n' 'package_pattern'
, it'll list the application's home page, thus a link to the source. The main repositories these days are either at gnu.org, github, gitlab or sourceforge.Re: What's the programming language Linux Mint has been coded in?
Knowing how slow some python software is, I'm actually surprised how fast Mint works.smurphos wrote: ⤴Sun Apr 22, 2018 5:00 am https://github.com/linuxmint
Python, JavaScript and C mainly
Re: What's the programming language Linux Mint has been coded in?
Blame the programmer, not the programming language. With Python, as with other programming languages like C/C++, the programmer is responsible for optimizing their code for its intended purpose (balancing performance, memory footprint, complexity and technical debt). Programs aren't "slow" because they are written in Python.
See discussion on the related topic about Scripted vs compiled programming languages.
As shared there, Python is used everywhere from YouTube's website, to animation and special effects on the Star Wars and Avenger movies, to Mars rover 2020's search for biosignatures, to handling millions of Euro's worth in trades on the stock market each day, to all kinds of industrial and aerospace use, to managing petabytes of information at the Large Hadron Collider and many more. They aren't using Python there because it is "slow".
See discussion on the related topic about Scripted vs compiled programming languages.
As shared there, Python is used everywhere from YouTube's website, to animation and special effects on the Star Wars and Avenger movies, to Mars rover 2020's search for biosignatures, to handling millions of Euro's worth in trades on the stock market each day, to all kinds of industrial and aerospace use, to managing petabytes of information at the Large Hadron Collider and many more. They aren't using Python there because it is "slow".