General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
IgorTheLight
Lex Clips
comments
Comments by "IgorTheLight" (@igorthelight) on "Lex Clips" channel.
Previous
1
Next
...
All
Python 3.13: * No GIL (experimental) * JIT Compiler (very experimental)
5
Yep! Android uses stripped down version of Java Virtual Machine that should run in the background to run Java programs
3
That's true for 1994. Then we got C#, then Python, then Go, then Kotlin and now we get Rust ;-)
3
@hiltonvarian3352 I like C# but it can't do everything: * You can't write drivers * It's not a good idea to make a game engine in C#. Unity is created in C++ - C# is only for scripting ;-) There is no perfect language xD
3
It's literally impossible to make something faster than C today! C is almost as fast as Assembler with today's compilers! But make Pyton code be compiled to machine code... that's a good idea!
2
Good news everyone! Read changelog for 3.13 ;-)
2
Good news everyone! Read changelog for 3.13 ;-)
2
@trex511ft "based on Rust" doesn't mean "Rust-like". It means "use Rust under the hood instead of C". Yes - Python uses C under the hood!
2
Agree! The closest things that we have today are Rust and Go. Go is more like Python tho. Both are compiled to machine code.
2
Look at PyPy ;-)
2
You mean, let Python be compiled to machine code? ;-) I like that idea! The closest we get today is Go and Rust. Go is more like Python tho
2
Why tho?
1
Maya supports Python 3 now ;-) Not sure for how long.
1
Good news everyone! Read changelog for 3.13 ;-)
1
Good news everyone! Read changelog for 3.13 No types but JIT and no GIL ;-)
1
They are NOT planning to make Python 4 any time soon! ;-)
1
If by "far future" you mean 5-10 years - maybe ;-) But after 20+ years from now we will have AI that will perform any task. Most likely, it will work right in binary, because it doesn't need any fancy language, because it can "speak" binary. And no - it will not destroy the humanity or enslave us - we will degrade by ourselves by becoming more and more lazy.
1
@chawza8402 "If Javascript has Typescript, what will "enhance" python?" - Julia language ;-)
1
Depends on why you need C++. For what purposes? ;-)
1
Good news everyone! Read changelog for 3.13 ;-)
1
True! Java was the first one but it's not the best one today ;-)
1
"Java is written in C++" means that Java Virtual Machine is written in C++. That way it's true ;-) Java Virtual Machine (JVM) - is a program that runs bytecode. Bytecode is generated when you compile your Java program (or Kotlin program).
1
Google "Julia language" ;-) If you really need Python and not "almost Python" - google "PyPy".
1
We don't even know the worst ones because NOONE uses them at all! The worst known are... most likely JavaScript and Perl. Java is close ;-)
1
Good news everyone! Read changelog for 3.13 ;-)
1
PyPy - a Python interpreter that JIT's your code. No changes in code needed ;-)
1
Good news everyone! Read changelog for 3.13 ;-)
1
Kinda... Notch would just use another language, most likely ;-) Or maybe he wouldn't want to be a programmer after trying C/C++ - we don't know!
1
3.13 tries to do that (and JIT compiler).
1
Good news everyone! Read changelog for 3.13 ;-)
1
Use Go then! ;-) Easy to read syntax but with braces and less whitespace. Also - compiled to machine code!
1
Good news everyone! Read changelog for 3.13 ;-)
1
Reasons to use Python: * Easy to learn. Probably THE easiest to learn (to a basic level) * No compilation needed! Just write code and execute it! Of course it's slow because of that. * SO MANY libraries! Install and update it with a single command!
1
Good news everyone! Read changelog for 3.13 ;-)
1
@nasimicin Look at "Go" ;-) It's a little bit simplistic so some people who want the complexity of C++/Rust are disappointed. But it's quite simple and it compiles to machine code like C/C++/Pascal/COBOL/Fortran Another example would be "Julia" - a "faster Python", basically.
1
Ha-ha! xD
1
You could relearn how to use print() in like... 5 seconds ;-) Also, you could write script (in Python - why not?) that will replace all print "something" to print('something') pretty easily! The language must evolve so some changes could be incompatible. Sadly.
1
But C++ is just "C with fancy classes". And C is just "B but with less limitations". There was D as a "modern C++" but it failed by being just a little bit better so there is no real reason to use it. Maybe Rust would be different enough to become that "next C++"? ;-)
1
@isodoubIet I know that it keeps evolving and the gap is widening ;-)
1
@isodoubIet C++ is evolving and gap between C and C++ became wider.
1
TL:DR "no Python 4 any time soon"
1
Why are you so scared of that? Also - check out changelog for 3.13 ;-)
1
The fastest you could get in Python is PyPy - try it ;-) It will JIT your code before executing it. No code changes required.
1
@isodoubIet Why Go is on this list? It's compiled to machine code unlike Java, JavaScript, C# or Python
1
@isodoubIet Oh, fair point
1
Good news everyone! Read changelog for 3.13 ;-)
1
Some good news: * Python will have better performenace with "no GIL" and with JIT compiler (Python 3.13+)! * C# can compile code to native binary now! (.NET 8.0+)
1
@ggoncalves80 Check out changelog for 3.13 ;-)
1
@omercelebi2012 Both languages are promising ;-) Go is like Python + C++ (easy syntax, compiled to machine code, easy to do concurrency) Rust is like "modern C++" (compiled to machine code, VERY hard to create a memory leak, easy to use third party libraries, syntax is... a little bit strange, but is it really worse than in C++? xD ) JUst watch some tutorials like "Starting with Rust/Go" and see for yourself, do you like it or not.
1
I think, the most comfortable in this regard today is Python ;-)
1
Previous
1
Next
...
All