Ruby is my favorite programming languages for fast prototyping, smaller programs or I have to make a simpler thing fast. As on the website is: "Ruby is developers's best friend". I prefer its syntax over Python. Python has more library, has solution for everything and for particular purposes I would choose Python (web scraping, machine learning, AI, excel spreadsheets, pdf, etc.), but for general purpose I like Ruby better. Crystal is a compiled Ruby, but my problem with it is that the compiler is very slow today. For me the best four are: Ruby, Python, D, Nim. For the best eight come Go, Rust, FreePascal and Lua and for the best ten C# and Julia.
I'm surprised Ruby hasn't continued to grow relative to Python -- it just seems like a langauge that is better for scaling applications. Crystal is climbing higher as one of the next programming langauges to investigate :)@@GaryChike
@@MikeShah Ruby is a general programming language but got relegated to being a one-trick Pony with Rails in the collective consciousness. But interestingly enough Ruby has one of the highest salaries in the StackOverflow 2022-23 surveys. It seems the top 8+ positions are taken up by functional programming languages, except for Zig which garnered the top spot for 2023.
I think the best book is smth like "Metaprogramming in Ruby", about eigenclasses etc. Ordinary stuff does not show it and it looks basically like Python per se, but its actually incredible dynamic language, I remember to constantly write my own little sub-languages in ruby. I don't think Python allows it, and its actually strange how fast for what it does it can run comparably to Python and PHP, some crazy c vm wizardy)
Crystal is like Ruby, but statically typed and compiled to native code. As far as I remember it uses Boehm GC for memory management, and it had some troubles running compiler on windows, but still it is interesting.
Hey Mike, It is somewhat funny when at 56:43 you start checking why the compilation failed, you went from X11, skipped two lines, and then looked at the Tcl library failure. The two lines you skipped were for tcl.h and tk.h, which the configuration script marked as "no" (meaning, I think, "not present"). And you *had* mentioned that you probably needed the "dev" libraries. I believe what you wanted was tcl8.5-dev and tk8.5-dev. I had tried Ruby back when Rails was popular, but I wasn't aware of the influence of Smalltalk (or of Eiffel for that matter). Although I haven't used Smalltalk, I believe the 'respond_to?' is part of the influence since in Smalltalk objects are supposed to "respond" to messages.
Cheers that's probably the fix! Since recording this video, I've also updated my Ubuntu, so I can probably get the proper packages, and get the proper glibc and other depdencies that Ubuntu 18.04 had phased out -- good catch :)
I really like the style and tone of this! I'd love to see you take a look at elixir. I'd also love to see an end of year list with a synopsis of what your favourite languages are from this series and impressions of each. That'd be so cool!
Hi mike, there are couple of languages like Odin, C3 & Jai are working with custom allocators. Could you please do a video about how to work with these custom allocators ? Some of them have temp allocator, arena allocator etc.
Cheers -- thank you for the continued support! At some point, I will do some data structure and algorithms, and even systems programming -- not sure on timeline, but they are in the planning process.
@@MikeShah Doing a bare metal "Hello world" would be interesting if that is less complex than formal operating system programming. (Assuming desktop hardware, as opposed to microcontrollers.)
Ruby is my favorite programming languages for fast prototyping, smaller programs or I have to make a simpler thing fast. As on the website is: "Ruby is developers's best friend". I prefer its syntax over Python. Python has more library, has solution for everything and for particular purposes I would choose Python (web scraping, machine learning, AI, excel spreadsheets, pdf, etc.), but for general purpose I like Ruby better. Crystal is a compiled Ruby, but my problem with it is that the compiler is very slow today. For me the best four are: Ruby, Python, D, Nim. For the best eight come Go, Rust, FreePascal and Lua and for the best ten C# and Julia.
We share very similar tastes in languages.
I'm surprised Ruby hasn't continued to grow relative to Python -- it just seems like a langauge that is better for scaling applications. Crystal is climbing higher as one of the next programming langauges to investigate :)@@GaryChike
@@MikeShah Ruby is a general programming language but got relegated to being a one-trick Pony with Rails in the collective consciousness. But interestingly enough Ruby has one of the highest salaries in the StackOverflow 2022-23 surveys. It seems the top 8+ positions are taken up by functional programming languages, except for Zig which garnered the top spot for 2023.
I think the best book is smth like "Metaprogramming in Ruby", about eigenclasses etc. Ordinary stuff does not show it and it looks basically like Python per se, but its actually incredible dynamic language, I remember to constantly write my own little sub-languages in ruby. I don't think Python allows it, and its actually strange how fast for what it does it can run comparably to Python and PHP, some crazy c vm wizardy)
Crystal is like Ruby, but statically typed and compiled to native code. As far as I remember it uses Boehm GC for memory management, and it had some troubles running compiler on windows, but still it is interesting.
Perhaps we'll have to take a closer look at Crystal :)
Hey Mike, It is somewhat funny when at 56:43 you start checking why the compilation failed, you went from X11, skipped two lines, and then looked at the Tcl library failure. The two lines you skipped were for tcl.h and tk.h, which the configuration script marked as "no" (meaning, I think, "not present"). And you *had* mentioned that you probably needed the "dev" libraries. I believe what you wanted was tcl8.5-dev and tk8.5-dev.
I had tried Ruby back when Rails was popular, but I wasn't aware of the influence of Smalltalk (or of Eiffel for that matter). Although I haven't used Smalltalk, I believe the 'respond_to?' is part of the influence since in Smalltalk objects are supposed to "respond" to messages.
Cheers that's probably the fix! Since recording this video, I've also updated my Ubuntu, so I can probably get the proper packages, and get the proper glibc and other depdencies that Ubuntu 18.04 had phased out -- good catch :)
My understanding is that snap slows everything down. Maybe use Debian instead of Ubuntu. Debian does not have snap installed by default.
Interesting, I'll have to do some more research perhaps. I'm on Ubuntu 22.04 now which has been mostly fine
I really like the style and tone of this! I'd love to see you take a look at elixir.
I'd also love to see an end of year list with a synopsis of what your favourite languages are from this series and impressions of each. That'd be so cool!
Cheers! Yes at some point I will do a wrap up 🙂
Hi mike, there are couple of languages like Odin, C3 & Jai are working with custom allocators. Could you please do a video about how to work with these custom allocators ? Some of them have temp allocator, arena allocator etc.
I may take a look at some of those langauges on this series -- haven't heard of C3, but Odin and Jai are on my radar :)
my beloved ruby, but i prefer crystal on top of it, it's quite similar but different.
I did not know of Crystal until this series, very nice language
Happy New Year sir ( IN Advance) , pls lauch dsa series for cpp sir ( much needed)
Cheers! Happy New Year!
hello sir , i am following you since your cpp series . Can we can tuts on OS concepts along with DSA?
Thanks alot for quality content sir!
Cheers -- thank you for the continued support! At some point, I will do some data structure and algorithms, and even systems programming -- not sure on timeline, but they are in the planning process.
@@MikeShah thanks sir i will eagerly wait for this , have a great year ahead ! Happy new year ( from your undergrad student)
@@MikeShah Doing a bare metal "Hello world" would be interesting if that is less complex than formal operating system programming. (Assuming desktop hardware, as opposed to microcontrollers.)
@@mytech6779 At some point I will revamp my assembly videos as I have learned quite a bit more since then 🙂