OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Jun 26, 2019 10:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Language to learn after Python
PostPosted: Fri Nov 16, 2018 10:10 am 
Offline
Member
Member

Joined: Mon Feb 02, 2015 7:11 pm
Posts: 305
I do not believe that cross-platform is a requirement or a concern when learning how to program.

_________________
https://github.com/kiznit/rainbow-os


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Fri Nov 16, 2018 10:20 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 03, 2016 3:13 am
Posts: 43
It's not^


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Fri Nov 16, 2018 10:49 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7376
Location: Germany
It's not when all you are looking for is "learning how to program" for its own sake.

But you'll end up with one programming language that you know how to use. Which will also coin much of how you will think about programming when (if) you start out to learn the next language.

So there is a valid question of "what do I want to achieve with my programming, and where do I want to go from there".

So cross-platform capabilities, programming paradigm(s), applicability in a specific sector of programming, foreseeable demand in the employment market, all these can very well be requirements or concerns.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Tue Nov 20, 2018 8:57 pm 
Offline
Member
Member

Joined: Wed Nov 18, 2015 3:04 pm
Posts: 348
Location: San Jose San Francisco Bay Area
kzinti wrote:
ggodw000 wrote:
I think understanding of underlying hardware and memory topology etc will help greatly in learning language. If subject can not know what the memory is and what its purpose is, it is very difficult to grasp the context of pointer etc., Further down the road even advanced topics such as cache etc.,


This is a very good point. It's especially relevant to OS Dev and Game Programming.

If OP could elaborate on what he would like to achieve short/medium/long term, it could help determine what is the "right" next language to learn.


Yes and I am highly critical of myself. I have been programming in python/ c for years but always used simples and basic code: list, dictionary sometimes, simple pointer and referencing sometimes. Hell memory alloc/dealloc/free, i had to look up. It fits my purpose now since stuff is only myself mostly and sometimes couple more people, it do does not require performance.

I feel like doing more advanced programming, mthreading, gpu programming and performance optimization. That will get you deep into data struct: trees, balancing tree, all kinds of sorting algorithms, and cache related instructions.

There is one time only I had to resort to multithreading in python at a very basic level. The script requiring to log on multiple ssh console and does some job which sucked doing serially. However it was just launching bunch of functions in X number of batches of threads. No IPC, no mutex, no locks just each of them working in its own silo and fills return array slot with result with its PID.

_________________
key takeaway after spending yrs on sw industry: big issue small because everyone jumps on it and fixes it. small issue is big since everyone ignores and it causes catastrophy later. #devilisinthedetails


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Thu Dec 06, 2018 11:54 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 03, 2016 3:13 am
Posts: 43
I thought coding my own spin clone of any classic video games would be a fun project. That or a GUI application such as a calendar or text editor. :)

(Like Pong, Tetris, or even Super Mario Bros.)


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Fri Dec 07, 2018 1:52 pm 
Offline
Member
Member

Joined: Wed Aug 30, 2017 8:24 am
Posts: 206
In that case I'd suggest starting small and working your way up. Start with a graphical text editor, that will get you up to speed on GUI programming basics. You're done when it's more usable than notepad.exe (Reaching for the low hanging fruit, there...).

Then maybe a calendar, since that is more involved. Games are even more involved since they require event-based programming, but also require things to happen on a timed basis. Most games only react to new inputs at the start of each frame. Now you only need to figure out what a "frame" is.

You are going to need support libraries for this. For 2D games, I've heard good things about SDL (so much so that several Steam games use it to great success). For the GUI, I'd stay as close to the metal as possible, i.e. xlib on Linux and WinAPI on Windows, but do bear in mind that I am a weirdo, and genuinely prefer C over C++.


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Sat Dec 08, 2018 2:56 pm 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7376
Location: Germany
I'd like to mention wxWidgets at this point... a cross-platform GUI library that doesn't toss licensing into your path (hello Qt), and gives a "native" look and feel on the target OS.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Fri Dec 28, 2018 4:59 pm 
Offline

Joined: Sun Dec 23, 2018 9:00 pm
Posts: 1
It depends on what you want to do.
For example, you may want to learn JavaScript for web development or C# for game development.
I personally would recommend learning about the layers of abstraction in computer architecture so you could gain more knowledge of how a computer works in general.
:wink: good luck

_________________
https://github.com/todalta/LUNIS


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Wed Feb 27, 2019 11:14 pm 
Offline

Joined: Wed Feb 27, 2019 5:25 am
Posts: 2
it totally depends upon your interests
if you like to build PC or windows phone apps or you are looking your future in Microsoft go to C#
if you want to build android apps and also cross platform apps then learn Java
if you are an Apple-holic and want to build iOS and MAC apps and then choose objective C or Swift
if your more interested in game development then try C++


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Tue Apr 02, 2019 2:41 am 
Offline

Joined: Sat Dec 29, 2018 3:09 am
Posts: 10
For OSdev, learning the gcc toolchain will help. For everything else, just stick to python.


Top
 Profile  
 
 Post subject: Re: Language to learn after Python
PostPosted: Tue Apr 02, 2019 4:58 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7376
Location: Germany
...if "Python programmer" is what you're aiming for.

Guys, really. I thought we here were educated enough not to fall for the "one programming language should be enough for everybody" shtick anymore...

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group