What's the programming language Linux Mint has been coded in?

Chat about anything related to Linux Mint
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.
Locked
linuxnewbie98

What's the programming language Linux Mint has been coded in?

Post by linuxnewbie98 »

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.
User avatar
smurphos
Level 18
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?

Post by smurphos »

https://github.com/linuxmint

Python, JavaScript and C mainly
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
linuxnewbie98

Re: What's the programming language Linux Mint has been coded in?

Post by linuxnewbie98 »

Thanks so much!
User avatar
shawnhcorey
Level 4
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?

Post by shawnhcorey »

smurphos wrote: Sun Apr 22, 2018 5:00 am https://github.com/linuxmint

Python, JavaScript and C mainly
With some bash and Perl thrown in on the side.
Don't stop where the ink does.
User avatar
xenopeek
Level 25
Level 25
Posts: 29590
Joined: Wed Jul 06, 2011 3:58 am

Re: What's the programming language Linux Mint has been coded in?

Post by xenopeek »

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.
Image
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: What's the programming language Linux Mint has been coded in?

Post by Hoser Rob »

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.
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.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
mediclaser
Level 4
Level 4
Posts: 491
Joined: Tue Mar 20, 2018 2:28 pm

Re: What's the programming language Linux Mint has been coded in?

Post by mediclaser »

smurphos wrote: Sun Apr 22, 2018 5:00 am https://github.com/linuxmint

Python, JavaScript and C mainly
I would not think Python nor JavaScript as these two languages are not compiled.
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)
User avatar
xenopeek
Level 25
Level 25
Posts: 29590
Joined: Wed Jul 06, 2011 3:58 am

Re: What's the programming language Linux Mint has been coded in?

Post by xenopeek »

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.
Image
mediclaser
Level 4
Level 4
Posts: 491
Joined: Tue Mar 20, 2018 2:28 pm

Re: What's the programming language Linux Mint has been coded in?

Post by mediclaser »

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.
I just thought an OS should run in machine code for speed. There will always be speed compromise using interpreted code.

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. ;)
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: What's the programming language Linux Mint has been coded in?

Post by jimallyn »

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.
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.

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
User avatar
shawnhcorey
Level 4
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?

Post by shawnhcorey »

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.
lmuserx4849

Re: What's the programming language Linux Mint has been coded in?

Post by lmuserx4849 »

mediclaser wrote: Wed Apr 25, 2018 12:17 am
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.
I just thought an OS should run in machine code for speed. There will always be speed compromise using interpreted code.

But apparently, I'm wrong in the case of Linux Mint, as you have revealed now.
The OS is Linux (kernel.org). The distribution is Linux Mint.
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.
rado84

Re: What's the programming language Linux Mint has been coded in?

Post by rado84 »

smurphos wrote: Sun Apr 22, 2018 5:00 am https://github.com/linuxmint

Python, JavaScript and C mainly
Knowing how slow some python software is, I'm actually surprised how fast Mint works.
User avatar
xenopeek
Level 25
Level 25
Posts: 29590
Joined: Wed Jul 06, 2011 3:58 am

Re: What's the programming language Linux Mint has been coded in?

Post by xenopeek »

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".
Image
Locked

Return to “Chat about Linux Mint”