Python vs Julia

Sdílet
Vložit
  • čas přidán 18. 01. 2023
  • Python for Data Science: ibm.biz/Python_for_Data_Science
    Python and Julia are both common and powerful language that may seem alike, but there are definitely differences you should consider. In this video Martin Keen, Master Inventor, provides an overview of Python and Julia, showcasing their strengths so you can make an informed decision on the best for your next project.
    Get started for free on IBM Cloud → ibm.biz/sign-up-today
    Subscribe to see more videos like this in the future → ibm.biz/subscribe-now

Komentáře • 191

  • @PatrickChampion
    @PatrickChampion Před rokem +289

    You missed that Julia can use all the Python libraries just like there were native Julia libraries, but it goes further and can also use R, C++, Fortran, and Java libraries too as easily as Python in the case of C++ and almost as easily for the other languages. So, one of your big selling points for Python is not actually a selling point versus Julia.

    • @acharyaguy
      @acharyaguy Před rokem +17

      So i should learn Julia too.

    • @raianmr2843
      @raianmr2843 Před rokem +23

      That and the fact that Julia has absolutely insane ffi speeds. So insane in fact that the overhead is barely noticable for most intents and purposes

    • @skajlet9045
      @skajlet9045 Před rokem +25

      Probably one of the most useful comments on YT I have seen. Thanks.

    • @MrEo89
      @MrEo89 Před rokem +17

      You can call Julia from Python and Python from Julia. So the point is rather moot.

    • @MrShaheer
      @MrShaheer Před rokem +24

      @@MrEo89 its not moot, if python is slower than Julia. Calling Python from Julia will not slowdown Julia as much, but calling Julia from Python WILL incur a performance penalty.

  • @travisporco
    @travisporco Před rokem +36

    Julia is (can be) as fast as C and as easy as Python...it's an incredible achievement.

  • @AbhimanyuAryan
    @AbhimanyuAryan Před rokem +35

    it's interesting how Julia on board looks so modern and python's defense was "it has a huge community and lot of packages". Check Julia 1.9 first the plot is fixed :D

  • @sinan_islam
    @sinan_islam Před rokem +178

    *The real problem of Julia is that Julia did not find a big tech company to spend money on it, just like how Google spent money on Python.*

    • @raianmr2843
      @raianmr2843 Před rokem +20

      all in due time m8

    • @Vectorized_mind
      @Vectorized_mind Před 6 měsíci

      Julia can use all of pythons libraries.

    • @valdemarkatayamakjaer9304
      @valdemarkatayamakjaer9304 Před 5 měsíci +10

      A “problem” that prevents Julia to grow is the lack of support for…newbies! Python is taught for kids, teens. It’s everywhere. It’s used for practical things like office automation, web scraping, solve problems for regular people and daily needs. Julia’s developers seems to focus only on big tasks, math, engineering…but dont evangelize young people, they don’t advertise Julia as a fantastic general purpose tool. If they want to make Julia get users, get traction, they should invest more in the “grassroots”, not only the math/engineering/computing elites.

    • @andyk2181
      @andyk2181 Před 3 měsíci

      @@valdemarkatayamakjaer9304I'm not quite sure I agree with that. If anything I think the problem is that Julia is over-sold and fails to live up to its promise for students. Julia is really fast, but you want to demo some code to a teacher or co-worker, and you have an embarrassing wait while the plot library precompiles. Julia solves the two-language problem, but when the Julia native library can't solve your assignment problem, the community tells you to use a Python library. Julia is easy to use, yet many people new to Julia get confused about how to setup a clean workflow as certain defaults are opposite to what they would be in other languages e.g. `julia --project` would just be `npm run` or `cargo run` and the current working directory is assumed to be the project without a `--project` required, and then there's the stacktrace that gets vomited onto your notebook Most of the tutorials on the Julia site are out dated and other data science / machine learning courses use MATLAB or Python. Julia could (have been) a great language, but the expectations that are set don't match with the experience. If less was promised, and more delivered, with a more honest view of what Julia is like then people wouldn't get burned. Advertising and evangelising is absolutely not what they need.

    • @finlaymetcalfe6360
      @finlaymetcalfe6360 Před 3 měsíci

      ​@@valdemarkatayamakjaer9304I agree that python is a good language to start with, python was one of my first languages. Though, python being an all purpose language is one of multiple reasons that makes it slow. Unless you're working in a low(er) level language (C, C++, Rust) you cannot expect performance and all purpose functionality. Julia focusing on maths, AI, engineering etc is the way to go. All in all, community and/or funding is the main driving factor for getting a language off the ground, not ease of use. Take Rust as an example, it is difficult to learn and I would not reccomend a beginner learn it as their first language, but rust has become quite popular.

  • @demophilo1
    @demophilo1 Před rokem +62

    Julia is like a Python 4.0. Many libraries in Python are needed to fix the lacks of Python. Julia doesn't need libraries like Numpy, Numba, Cython, Cpython. Matrix multiplication? Already built in.
    And there are a lot of things I like in Julia, but you'll never get in Python. I like that every block is terminated by an end. In Python I get often confused by nested blocks. I like Julia's support of Unicode and Latex. Formulas are more like they look in math.
    Python is easy to learn, but if performance is needed, you have to do some extra mile. Julia, which is as easy to learn, write and read, doesn't need this effort.
    Therefore there are just 2 advantages of Python over Julia: much bigger community and much more written code. I hope these advantages will decrease in the future.

    • @fsaldan1
      @fsaldan1 Před rokem +10

      In fairness Python also has much better documentation. It is harder to learn Julia, not because it is more complex, but for bad documentation that is too abstract and lacks step-by-step examples.

    • @Syngula.
      @Syngula. Před 29 dny

      Well i prefer Julia's doc to Python's, my preference tho.

  • @valentinussofa4135
    @valentinussofa4135 Před rokem +48

    As a pure science background (biology), I like programming language with high level performance in any OS and also have strong types system. That's why I choose Julia. Julia combine both concept of Java (JIT) and C/Rust (LLVM Compiler). I think Julia has a bright future for scientist. Great video. Thank you🙏

  • @anomaliespatiale6023
    @anomaliespatiale6023 Před rokem +21

    Great video! Thank you for mentioning multiple dispatch, a real game changer. I think your comparison is fair to both languages. Looking forward to upcoming videos.

  • @jamesbond_007
    @jamesbond_007 Před rokem +11

    You make it sound like Julia cannot use 3rd party libraries for various tasks. I don't believe this is true, but someone naive to coding would think that was the case from what you said.

  • @fsaldan1
    @fsaldan1 Před rokem +23

    Maybe I was not paying attention but I don't remember any reference to the main difference between Python and Julia: namely that Python is interpreted and Julia is compiled just-in-time.

  • @jonathandiegelman4714
    @jonathandiegelman4714 Před 8 měsíci +11

    Nice video. But I think you have the point about extensibility backwards. Python’s lack of extensibility has forced, for example, multiple projects to write their own custom NumPy implementations from scratch (e.g. jax.numpy). The basic problem is that in Python there is no way to extend a given function onto a type that you don’t own. This extensibility is one of the prime selling points of Julia.
    In fact, the most recent criticism of Julia that sparked a lot of discussion was that Julia is _too_ extensible and that the culture of extensibility has led to correctness bugs in popular third party libraries.
    I think the point you were making wasn’t necessarily about extensibility but how “batteries included” each language is. On the continuum of “all functionality needs to be imported” (Python lives around here) to “all functionality is in the base language” (MATLAB lives around here), Julia is pretty decidedly on the Python side. The one notable difference is that Julia’s arrays have a concept of dimensionality baked in, so matrices and higher-dimension arrays are part of the core language. Personally, I’m a fan, because NumPy is hamstrung into some pretty clunky syntax around matrices. And it’s nice to not have to care about the difference between a list and a numpy.array. But I think those are more personal preferences. People seem to like NumPy, so I won’t tell them they’re wrong.
    I’ll note one last difference in that community in Python and Julia mean different things. In Python, community is generally a one-way street. You can search a question and almost always find an answer someone gave at some point in time. In Julia, you won’t always find a lot of answers by searching, but you can hop on the Discourse, Slack, Zulip, etc. and very quickly get an answer, as the community is very active. There are advantages and disadvantages to both approaches. Julia’s approach certainly isn’t going to scale well as the user base grows, but for now it feels kinda nice. The people who most often answer your questions tend to be working on similar problems as you, so industry-specific connections kinda happen naturally.

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Před rokem +41

    More videos on Julia would be really interesting.

  • @billvvoods
    @billvvoods Před rokem +9

    I’ve heard of Julia but this really has opened my eyes. Thanks, I’m going to learn it.

  • @DK1PL
    @DK1PL Před rokem +12

    It not really true if you say that Julia is “dynamically typed language” because Julia in contrast to Python can be use as “dynamically and statically typed language”. It depends on the user which approach he will choice. Special for the large scale Application it is the key difference.

  • @moamenabdelkawy5718
    @moamenabdelkawy5718 Před rokem +2

    Your videos are always insightful. Thanks!

  • @AnweshAdhikari
    @AnweshAdhikari Před 5 měsíci +1

    Thankful for such awesome recommendation!
    Sticking around for more of such content!❤

  • @ChocolateMilkCultLeader
    @ChocolateMilkCultLeader Před rokem +4

    Great video. Love the content you guys put out.

  • @phenixnunlee372
    @phenixnunlee372 Před rokem +55

    I just want to point out that Julia has a lot libraries. I learned Julia before python. Python's syntax can be confusing. Also, Julia does not depend on white spaces so you can see the formatting. I have used Julia for signal processing for my acoustics work. Julia does not have a fragmented packaging system like python and can be ran only basically any desktop operating system.

    • @raianmr2843
      @raianmr2843 Před rokem +3

      What were you programming in before Julia? You seem to have an interesting background.

    • @ClariNerd
      @ClariNerd Před rokem +12

      “Python’s syntax can be confusing”
      Saying that while defending a language that iterates from 1 instead of 0 is one hell of a hot take.

    • @bazoo513
      @bazoo513 Před rokem +24

      @@ClariNerd Languages that iterate like mathematics does, instead of thinking in terms of memory offsets, iterate from 1. that's called "abstraction" - forget about machine representation.

    • @youcamp132
      @youcamp132 Před rokem +14

      Totally agree. I hate Python just for that. You really need to use an IDE or you'll lose your mind. Julia is easy to program with any editor. It's going to be my goto language.

    • @phenixnunlee372
      @phenixnunlee372 Před rokem +1

      @@raianmr2843 I learned C first. The package manager was a real game changer.

  • @drasticfred
    @drasticfred Před rokem +13

    Scalability in terms of networking is the biggest issue in Python. Serializing / deserializing data and passing it to individual processes / nodes, across a distributed environment such a pain.

    • @stant7122
      @stant7122 Před rokem

      Use pyspark or ray or one of the other gazillion distributed frameworks available

  • @purityballs7446
    @purityballs7446 Před rokem +7

    If you're going to become an actual scientist, study both. If you need to go to work and can't get an advanced degree, start with Python and get to Julia later. Guido was not an expert in computer languages. Python had major flaws as a purely frame-based language from the beginning. There are packages that you can run from Python that are highly-performant. Jax is my favorite. However, Python's implementation of the features needed to support a JIT compiler show that it is now nothing more than bad macro language for these packages. Python 4 is Julia.

  • @NachtmahrNebenan
    @NachtmahrNebenan Před rokem +2

    What a great way to present by writing mirrored against the screen of the viewer! 💡😃

  • @valdemarkjaer
    @valdemarkjaer Před rokem +7

    I’m going to make a bet in Julia for ML / DS and Rust for system programing. Lets see if they’ll have a kind of QT…

    • @milhousevanhoutan9235
      @milhousevanhoutan9235 Před 5 měsíci

      I think Julia is definitely the future of ML. It can do anything python can do at twice (or more) the speed, including python via ffi. It also doesn't need extensions for what should be basic functionality.

  • @LifeCodeGame
    @LifeCodeGame Před rokem +4

    Great video! Learning about the differences between Python and Julia is a great way to expand your knowledge and become a more well-rounded programmer.

  • @alexvass
    @alexvass Před rokem +28

    Also, I would add, that numpy is not as intuitive as the in-built matrix operators in Julia. Plotting in Julia is so much easier than with matplotlib. JAX which is the new package for ML by DeepMind in python is almost a clone of the paradigm of FluxML in Julia. They even have their own version of JAX numpy which is made to resemble the matrix operations in Matlab and Julia. Some quirky things in the Python syntax do not exist and in general that 'pseudo code abbreviations' in python are not always obvious, like in python it is 'len' but Julia it is simply 'length' spelling it out completely

    • @podunkis
      @podunkis Před rokem +6

      I'm not a big fan of Python, but I much prefer the code abbreviations. Shorter is better when the meaning is clear. In any language it is necessary to learn the identifiers, and I would never assume 'length' rather than 'len' or 'size' or whatever. I would rather have 'enum' than 'enumerate' in Python, for example, and it would be more consistent with 'len'. There is no difference in clarity, but one is easier to type and keeps the code more compact, which I find easier to read. I think languages should be written for continuous use, not just first time use or teaching use. Perhaps starting in C on Linux/Unix made me prefer brevity.

    • @namtrng8479
      @namtrng8479 Před rokem +3

      ​@@podunkis auto-completion coming on a white horse...

  • @raminguliyev1520
    @raminguliyev1520 Před rokem +6

    Great video. Please make a video like that java vs csharp

  • @bazoo513
    @bazoo513 Před rokem +9

    Python is "do anything" because it has, for some strange reason, accumulated enormous number of additional libraries. In most cases Python programs are little more than glue code for those libraries (usually written in C/C++ or more and more Rust.) Julia also has many good libraries available for it. Also, perhaps with a bit of glue code ("wrappers") one can call virtually anything from anything else, although having to rely on different virtual machines and/or runtimes will complicate things.

    • @goranjosic
      @goranjosic Před rokem

      That's the beauty of Python, I can go from an idea to the first implementation in one evening, without spending an entire evening debugging the program.
      I can start with Idea, develop web server on Raspberry Pi in my home, make it do things, pickup data from net, process it with tensorflow lite model, connect that server with additional sensor from outside environment, and in the end display data on small custom screen from AliExpress 😄 - everything in day or two of hobby programming!!
      This is way Python rules, and it is irreplaceable!!

  • @user-be3mg6cm4k
    @user-be3mg6cm4k Před 3 měsíci

    Thanks for the video!

  • @Rvjonh
    @Rvjonh Před rokem +4

    Thank you, I love you ❤

  • @luislopes806
    @luislopes806 Před rokem +17

    It was an excellent explanation on the application of Python vs Julia! Since, Julia is used for applications such as Artificial Intelligence and Machine Learning. Is it possible to make an video on how it is applied in these areas? I will be waiting for the Video!

  • @philippetrounev611
    @philippetrounev611 Před rokem +4

    Would be nice to see actual benchmarks

  • @LightningSpritesJetsWizard

    The argument of extensibility listed under Python is very much also a Julia advantage. The ecosystem is not yet as large, but you may need only a small part of the ecosystem. For me it's been quick to start with CSV, NCDatasets, Dates, Makie, Images packages. There is a good deal of plotting options, but it was a bit hard to decide which one to learn first. The syntax and layout of Julia look a lot cleaner to me than Python. I have been using Scilab (a free Matlab alternative) for years, and IDL/PVWAVE before that. I am finding the transition to Julia very smooth. I actually don't mind the type annotations, especially for the speed gained. It is pretty much mandatory if you wish to input data into certain functions. In Julia you need to be careful about assigning variables to other variables, if you don't want to change those as well - this can lead to unexpected bugs you can lose hours with :)

    • @fsaldan1
      @fsaldan1 Před rokem +1

      I think the issue is the same in Julia and Python. a = b means a is just another label, not a different piece of data in a different portion of memory. This is a good thing. If you want you can do a = copy(b).

  • @toenytv7946
    @toenytv7946 Před rokem +11

    I realized something while watching this. Chat GPT is trying to mimic answers like these. Not sure if it will ever be as fun as people can make the experience. Thanks to IBM for all the efforts you make in educating the general public of new technology people like myself may never get a chance to experience or even hear about, much less the inner workings. Just had to add my sincere appreciation and couldn’t imagine a more trustworthy source of truth than the Experts at IBM. Thank you for believing in your audience. Shows I’m not alone in believing this with the numbers of views.

    • @evandrofilipe1526
      @evandrofilipe1526 Před rokem +2

      I don't know man this is pretty surface level stuff that you will probably pick up just by going to each languages' website.

  • @apmcd47
    @apmcd47 Před rokem

    Python does support single and multiple dispatch. Singe dispatch is part of the Python distribution and has to be imported from functools; multiple dispatch has to be installed from the repositories.

  • @adelatorremothelet
    @adelatorremothelet Před rokem +2

    What about cython? By adding types performance can be enhanced 20x.

  • @philiplam2003
    @philiplam2003 Před rokem

    Hi I just curious what do you write the borad, with writing from left to right and display also left to right?

  • @ZackDia-Ptr
    @ZackDia-Ptr Před rokem +2

    Thank you, I am goin' for Julia, as I do like the beauty of Matlab

  • @oldschoolcool1135
    @oldschoolcool1135 Před rokem +5

    The real problem with Julia is the lack of a good debugger. I was using it a couple years ago and had to add print statements all over the place to trace down issues. It's like I was living in the 80's. Not good.

    • @AlexRodriguez-gb9ez
      @AlexRodriguez-gb9ez Před 25 dny

      Isn't Julia a Lisp though, you could do "eval hacking" to do traces.

  • @VivBrodock
    @VivBrodock Před 3 měsíci +2

    Mmmm Julia is dynamically typed by default but unlike Python real static typing is an option.
    Also, Python libraries are usable in Julia by default, that's not an advantage of Python

  • @factChecker01
    @factChecker01 Před rokem +3

    Python is a lot of fun for hobbies and experimenting with new technologies because of the huge user community. But if there is any serious number crunching, it is so slow that it will make you commit suicide. It sounds like Julia is better for that. (But every language is faster than Python)

  • @yash1152
    @yash1152 Před 6 měsíci

    the biggest plus for me in julia: static typing support, and broadcast operator

  • @IdoN0TneedTherapy
    @IdoN0TneedTherapy Před rokem +2

    Could someone make a python variant having non-significant whitespace?

  • @wsewlal
    @wsewlal Před rokem +4

    Is Julia ready for use in a production environment? Have used it years ago (v0.4/0.5), and contemplating on using it for analysis. How well are packages maintained and how often will implementations break?

    • @rolandschatzle4208
      @rolandschatzle4208 Před rokem +8

      Julia is now available in version 1.8 and a really mature environment in the meantime

    • @PatrickChampion
      @PatrickChampion Před rokem +9

      Not only is it at version 1.8 with a best in class package manager. It has almost 9,000 packages downloadable. It supposedly has great threading capabilities.
      Currently, there is a big effort to make it support HARD real-time execution with the ability to control garbage collection scheduling so GC doesn't prevent responding to events in a specified number of milli or maybe micro seconds. This is coming incrementally in versions 1.8 and 1.9 and possibly some final work in 1.10. Part of this is Julia Computing, now Julia Hub, is giving abilities for static compilation so that you can do all the hard compilation work once and then when it runs, you will be hopefully able to eliminate the long "time to first plot", and instead have, basically a shipable .EXE file (or a few). Current talk seems to be about fully compiling and in 1.9 there will be caching of compiled instances of each module (package), but by version 1.10 Julia being able to have a single .EXE file (or an EXE plus one compiled library object). The details escape me and seem to be evolving.
      The beauty of all this EXE and real-time work is to get around Julia's famously slow time-to-first-plot startup time, measured in seconds or sometimes even minutes for code that relies on dozens of packages.
      Everything else is looking production ready. No breaking features after 1.5 and none planned.

    • @phenixnunlee372
      @phenixnunlee372 Před rokem +3

      Julia Pro is designed for enterprise. In my personal experience I can't recall implementations breaking.

    • @sylvaticus2
      @sylvaticus2 Před rokem +2

      I would say yes, but only very recently. Julia reached v1 (i.e. no break promise) in 2018 but most large packages (DataFrames, JuMP,...) did that only 1-2 years ago....

    • @fsaldan1
      @fsaldan1 Před rokem

      Julia is in version 1.9 now and is very solid and stable.

  • @disenodeoccidentegt7313

    I no have idea about a program called Julia. It's interesting video, I'm a beginner in that new world about programing.

  • @sreemannarayana3942
    @sreemannarayana3942 Před rokem +10

    A small question:
    Will Julia replace Python in performing some data science tasks in the near future? If yes, then what are those tasks?

    • @adsick_ua
      @adsick_ua Před rokem +8

      Anywhere where you apply math extensively.

    • @benjlung
      @benjlung Před rokem +11

      Python is strong when there is an existing performant library for your use case. If this is not the case, custom Python code is very slow compared to Julia (often a factor of 100 slower in runtime). Optimizing Python code with Cython, Numba, etc. is possible, but rather cumbersome. In such a use case, Julia is a much better fit.

    • @raianmr2843
      @raianmr2843 Před rokem +7

      There's no 'replacing' in any concrete sense of the term when it comes to open languages like Python or C. It's mostly super niche proprietary langs that get 'replaced' at one point or another. And sometimes the real friction facing these migrations isn't from the actual use case at all. Like, a data engineer might have a hard time migrating to Julia because its web development scene is nowhere near that of Python. Your question was about Data Science specifically, but Data Science doesn't exist in a vacuum so there's that.

  • @johnlesicko8167
    @johnlesicko8167 Před rokem

    MY MIND IS BLOWNWNWNNW..... HOMEBREWER MARTIN KEEN IS AN IBM MASTER INVENTOR..... I SHOULDVE KNOWN

  • @a0um
    @a0um Před rokem +9

    If you like Julia or Python but you prefer static typing then you may like the Nim programming language, a little known gem!

    • @fsaldan1
      @fsaldan1 Před rokem

      Does Nim has something like Pandas?

    • @LightningSpritesJetsWizard
      @LightningSpritesJetsWizard Před 10 měsíci +2

      In Julia you have full flexibility where you can annotate the type like x::Vector{Float64} = ... and get all the benefits of static typing (speed, input/output security, functions tailored to the input type) - where it is needed, and use dynamic typing for other things, as you wish.

  • @markgreen2170
    @markgreen2170 Před rokem +2

    ...I don't know much but, I'm just going to throw this out there: NumPy is a wrapper around Fortran code ...your not going to get faster than that, are you? what kind of performance hit do you take from the 'wrapper?' Nice video, thanks!

    • @markgreen2170
      @markgreen2170 Před rokem +2

      I did a quick internet search, it seems the 'debate' is on! julia vs fortran performance...

    • @stretch8390
      @stretch8390 Před rokem +4

      You've actually alluded to another issue quite nicely; if you learn Python and want to get into the nuts and bolts of the libraries you're using quite often you discover that you would have to have a working knowledge of Cpp or Fortran. Part of the motivation for developing Julia was to solve the, 'two language', problem.

    • @oscarsmith3942
      @oscarsmith3942 Před rokem +1

      While numpy is largely Fortran code, the API is pretty bad for performance. Numpy code ends up making a ton of copies and doing a bunch of redundant loops over the same memory. It also has a pretty high per call overhead (roughly 1us) which makes it incredibly slow for small array operations.

  • @warrenvanwyck2765
    @warrenvanwyck2765 Před měsícem

    Really strange when a very simple program runs differently from Jupyter and the command line -- both Julia 1.10.3.
    x = 10 # x in the global scope
    for i = 1:5
    x = i # x in the soft scope (inside the for loop)
    end
    println(x) # prints: 5 for Jupyter and 10 for command line

  • @data_dave
    @data_dave Před rokem +3

    It's weird he didn't drink a beer at the end

  • @jdmlong
    @jdmlong Před rokem +1

    Weird not hearing about a grain bill in this video

  • @MagalyCantey
    @MagalyCantey Před 7 měsíci

    cool video)

  • @tyrojames9937
    @tyrojames9937 Před rokem

    NICE!

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Před rokem

    Is OpenBlas worth using? never heard of it before.

    • @billvvoods
      @billvvoods Před rokem

      That makes at least two of us.

    • @SevenThunderful
      @SevenThunderful Před rokem

      LOL. You've probably used it dozens of times whenever you've done anything in numpy. It's ubiquitous for dense linear algebra. Though perhaps you have MKL libraries installed without knowing it.

  • @bish-jyag3371
    @bish-jyag3371 Před měsícem

    Once Julia is used in University textbooks, this will stsrt to grow. So, need to write a very good programming, web application and data science books with lots of excercise for students, then Julia will get popular

  • @Prisal1
    @Prisal1 Před 9 měsíci

    how do u write backwards

  • @archniki_
    @archniki_ Před rokem

    0:29 this thing writing on our screen could give heart stroke xD

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Před rokem +5

    but you can call Python from Julia. Does that help with extensibility? or not really?

    • @rolandschatzle4208
      @rolandschatzle4208 Před rokem +3

      Yes, there is an easy to use interface to call Python

    • @ceber54
      @ceber54 Před 9 měsíci

      #Example, if you want to use
      #matplotlib directly
      using PyCall
      pl = pyimport("matplotlib")
      xs = -2pi:0.01:2pi
      ys = sin.(xs)
      pl.plot(xs.ys)
      #But in this case, you would prefer to call PyPlot

  • @ggoncalves80
    @ggoncalves80 Před rokem +1

    Let's learn Julia

  • @that70sshow82
    @that70sshow82 Před 10 měsíci +1

    All I have to say, julia is hella faster than python for solving differential equations.

  • @kitgary
    @kitgary Před rokem

    Julia vs Rust, which one do you prefer?

    • @fsaldan1
      @fsaldan1 Před rokem +1

      That is like comparing a hammer and a screwdriver.

  • @cientifiko
    @cientifiko Před rokem

    Why this audio is so low?

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Před rokem

    Can you also consider comparing Polar in your future video?

  • @haxidenti6001
    @haxidenti6001 Před 11 měsíci

    Why it's so quiet?

  • @elye3701
    @elye3701 Před rokem +1

    I tried studying Python and my vision started to blur when the Walrus operator was introduced. I doubt I could debug my own Python program after a year. I really hate the forced indentation means of packaging as much as I hate C's curly braces. Sounds like what was said for these languages was also touted for Java. I guess I'll stick to REXX or Forth. I used REXX to rename files and the performance was dismal with each "address DOS ... " statement. So nowadays, my REXX programs write BATCH programs which are executed as fast as CMD can clear them. Not greased lightning like the big guys but I get the job done under my terms and control. I mainly use these to organize JPGs from digital cameras into a single folder/subdirectory. My programs rename each file with a 4 hex fingerprint prefix and an optional time-date-stamp infix into the filename. Another program traverses the directory tree and moves the files to the parent folder/directory. Someday they will write the HEX file directly which can be burnt into an EEPROM of a microcontroller. Good for implanting a secret copyright notice bypassing the IDE.

    • @billvvoods
      @billvvoods Před rokem

      Interesting, another forth(er). Haven’t heard anyone else that’s used that in decades. Cool!

    • @SevenThunderful
      @SevenThunderful Před rokem

      I love the simplicity of Forth. Julia has really good string processing capabilities and lots of file IO tricks as well. Your REXX jobs would run pretty fast under Julia, outside of the normal bottlenecks with disk IO.

    • @Android-ds9ie
      @Android-ds9ie Před 7 měsíci

      Yes I also hate the indentation in python

  • @DrEibein-Elektrokackemusiker

    That is easy, modern c++ ;)

  • @sloan00
    @sloan00 Před 7 měsíci

    Wow he is really good at writing words backward.

  • @rtb7354
    @rtb7354 Před rokem +1

    Is he left handed and writing mirrored or is the video mirored?

  • @abstractnonsense8344
    @abstractnonsense8344 Před rokem

    It's never important to me that my algorithm gets there quickly, I love slowness. I think it's great that IBM had this video, but it was more of a round about way to say yeah Julia is fast but python can do more.

    • @fsaldan1
      @fsaldan1 Před rokem +1

      I don't think Python can do more, since you can call Python from Julia.

    • @ceber54
      @ceber54 Před 9 měsíci +2

      When you try to calculate a numerical integral over 1M points, try to like such slowness. That's why I prefer Julia over Python. Julia is faster and can be parallelized easily.

  • @TwstedTV
    @TwstedTV Před rokem +1

    Its funny how Amazon and their AWS company debunked that Julia was fast. As Python was tested against Julia in AWS and AWS said Python was much faster and even more
    economical when doing extensive tests with them. Julia takes up most electricity than python when tested in the AWS, which means AWS seen that Julia cost more to operate than Python.
    AWS and Amazon even created a 5 page website extensively going through each and every language and how fast and feasible they were to run within AWS Amazon services.
    Python won and beat every language including Java and C#

    • @AbeJayPee494
      @AbeJayPee494 Před rokem +1

      Dont forget that Guido Guido van Rossum is with Microsoft now and has enormous resources to acomplish whatever plans he has for Python . I would place my bet on Python primarily because of its extensive libraries. A long time ago, IBM developed PL/1 that is upposed to combine the best features of Fortran and Cobol but it never gained traction. Will Julia suffer the same fate? Time will tell.

    • @benjlung
      @benjlung Před rokem +8

      Pretty sure they included some compile time in their Julia benchmarks. Short-running scripts are rather slow in Julia because they are compiled every time a new Julia instance is started. This may be an issue for some kind of webservices.

    • @purityballs7446
      @purityballs7446 Před rokem +4

      I've been programming Python since it was first released. I'd suggest the Amazon engineers are hacks applying a great language within a crappy framework designed for Python.

    • @fsaldan1
      @fsaldan1 Před rokem

      ​@@benjlung Exactly.

    • @SevenThunderful
      @SevenThunderful Před rokem +1

      I'd take those benchmarks with a grain of salt. You can precompile code and libraries so that there is not much start up time and the code will run much faster than python. I'll bet that the Julia Jit compiler time got baked into those benchmarks.

  • @roshanamanzoor3385
    @roshanamanzoor3385 Před rokem +2

    👍👍👍

  • @josephcapener3896
    @josephcapener3896 Před rokem +1

    How the heck do you write backwards!

  • @QuestioningYourSanity

    Seems weird not to include R in this conversation.

    • @fsaldan1
      @fsaldan1 Před rokem

      True, but R is interpreted and therefore slow like Python.

  • @RenderingUser
    @RenderingUser Před rokem +1

    Did the dude just write stuff on screen in reverse?

  • @ButchCassidyAndSundanceKid

    You forgot to mention Julia's array is 1-based but Python like most other languages, its array is 0-based.

  • @danimusbar
    @danimusbar Před rokem

    What about with elixir?

  • @lucienjaegers2028
    @lucienjaegers2028 Před rokem +6

    With sustainability in mind it's nice to see an alternative for Python with high performance. The "It's slow, yet fast enough" sratement I often hear from Python developers starts to annoy me a bit. This 'slow-yet-fast-enough'-mindset is killing our planet. Though responsive enough, in a lot of 'sluggish' languages (like also Perl, Ruby and many, many more) too many processor cycles are used and this costs an unnecessary amount of energy and time, and therefore physical hardware.

  • @abdulnarimanov2256
    @abdulnarimanov2256 Před 5 měsíci

    Solskjær changed a lot after Man Utd

  • @yosolonopuedo
    @yosolonopuedo Před 10 měsíci +1

    Julia all the way

  • @ElParacletoPodcast
    @ElParacletoPodcast Před rokem +2

    The way I see it is that, I have been using computers since the days of Atari, and commodore, I have programmed them and fix them too, and all I’ve experienced is pain, and more pain, beginning and ending with, limitations, it is like living in a communist country, with communist programmers, I remember how painful was programming with basic, qbasic and Visual Basic, and with the ridiculous and stupid, and illogical, no purpose limitations Microsoft set with the 64k limit memory access crap. Every single programming language that I have used, is full of limitations, ridiculous error messages, etc, etc, so maybe now with AI will have AI design programming languages on the fly, we also need a new hardware design, a flexible hardware, more like software, programming languages are like religious denominations, and we need to move on with a true programming language. My prediction is this, engineers and programmers days are numbered, THATS just the way it is, AI is moving so fast, there is no escape, my advice to software engineers and programmers is this, find a new skill, cause you/we cannot beat computers at their own game. Why the hell would anyone, knowing what is going in, want to learn another programming language, when programmers will be out of jobs in less that’s, I would say, 2 years. That’s my take. Thanks for the video.

    • @billvvoods
      @billvvoods Před rokem +3

      I have a background similar to yours. I think at the age we probably both are now, no worries about AI replacing us much in what time we have left. Just better tools to look forward to so we can save more precious time.

    • @maxesit_tutor
      @maxesit_tutor Před 7 měsíci

      Sir, 1 of those 2 years is almost over and no jobs were lost to ai bs, so please reconsider your opinion regarding the matter

  • @nathanruben3372
    @nathanruben3372 Před rokem

    I literally hate python. I find refuge in julia. But julia made me upset in some ways. One always pays price at initial run, since it it can not be precompiled even though there are several efforts for precompilation.

    • @fsaldan1
      @fsaldan1 Před rokem +5

      Largely fixed in version 1.9.

  • @mikeg9b
    @mikeg9b Před rokem

    The comments are way more enlightening than this video.

  • @timjrgebn
    @timjrgebn Před 11 hodinami

    I can tell you first hand, if you are doing computationally heavy things, e.g., simulating agent-based models, Julia just simply wins against python. It takes far less effort to crank out very heavy scientific computing.
    Python is what's used when you want to make science to a proof of concept (POC), but isn't even the best for real-world production code. It just ends up taking more effort to just get it to be as performant as other languages. Great for that POC area of work, but falls short everywhere else. Even MOJO sucks in my experience, with even their previous benchmarks proving a lie once you decompile them.
    Once the ML/AI hype hits, it's gonna be really rough for those who pigeonholed themselves as python monkeys, rather than people are doing serious work with C++, SQL, etc.

  • @auslei
    @auslei Před rokem +6

    I just hope they stop inventing more new languages. There are so many different syntax to remember. Just stick on the language and keep improving will be much easier.

    • @maxesit_tutor
      @maxesit_tutor Před 7 měsíci +2

      New languages are necessary and sometimes amazing! Improving is a must, but making something ground up with a completely different ideology is way too important to forget, because" learning syntax is hard"..

    • @AlexRodriguez-gb9ez
      @AlexRodriguez-gb9ez Před 25 dny

      @@maxesit_tutor We need a Python -> Julia compiler, but there will always be weird programs that use dynamic manipulation of the stack that can't be compiled to Julia.

  • @m_a_s6069
    @m_a_s6069 Před 5 měsíci

    Dude: Julia is way more extensible than Python.

    • @pedromendozaaristegui5974
      @pedromendozaaristegui5974 Před měsícem

      Yeah, extend by macro system

    • @AlexRodriguez-gb9ez
      @AlexRodriguez-gb9ez Před 25 dny

      @@pedromendozaaristegui5974 Also multimethods can do pretty cool stuff. I wonder if in Julia you can reprogram the semicolons and assignment like you can in Lisp. Also hmm imagine using lenses(profunctor optics; "purely functional pointers") like in Haskell to edit your data and code, then writing a macro/compiler to turn your code into low level pointers hmm.

  • @sinamobasheri
    @sinamobasheri Před rokem

    👍🏻

  • @RobertoBaca
    @RobertoBaca Před rokem +1

    You're very good at writing backwards.

    • @IBMTechnology
      @IBMTechnology  Před rokem +1

      Search on "lightboard videos"

    • @RobertoBaca
      @RobertoBaca Před rokem

      @@IBMTechnology Oh, I know :) I noticed there are an awful lot of left-handed people making these videos.

  • @urisan1
    @urisan1 Před rokem +4

    julia is all about performance unless you're doing something really esoteric such as making a plot

    • @fsaldan1
      @fsaldan1 Před rokem +1

      That is not true. Since Julia does Just In Time compilation it may be a bit slower the first time you call a function, which may be creating a plot. The second time you run it the function has been compiled and runs at full speed. Even this minor problem has been largely eliminated in version 1.9.

    • @ceber54
      @ceber54 Před 9 měsíci

      Have you tried the latest versions of Makie? It is surprisingly fast now.

  • @MAJ4K
    @MAJ4K Před rokem

    Why make a video of 2 programming languages while showing no code

  • @disturable123
    @disturable123 Před rokem

    wow the guy really writes backwards

  • @cyclistArsenal
    @cyclistArsenal Před rokem

    How he is writing in reverse is making me dizzy 🥴

  • @massimo6767
    @massimo6767 Před rokem +3

    Truth about julia is that it's a nice tool but it's not worth it. Python needs something way better go get dethroned

    • @billvvoods
      @billvvoods Před rokem +3

      Yeah, time.

    • @SevenThunderful
      @SevenThunderful Před rokem +4

      I used to do all my scientific programming in Python. Invariably I'd have to write cython code or C code to speed things up. Now I thank God for the invention of Julia. I've been using it for 5 years and have never looked back.

  • @spookymv
    @spookymv Před rokem +1

    IBM Technology should work on sound-audio technology. your youtube videos sound are terrible 😁

    • @IBMTechnology
      @IBMTechnology  Před rokem

      Would you elaborate, i.e., which videos and what is the problem? We know about the screechy markers in videos 2-3 years back, but we've taken steps to avoid that.

    • @RenderingUser
      @RenderingUser Před rokem +2

      I think your speakers just suck lmao

  • @AndreCarneiro666
    @AndreCarneiro666 Před rokem

    It's a very very easy choice! Python is in everywhere! Julia, well... is not!

  • @samuelsaldana1575
    @samuelsaldana1575 Před rokem

    What?! Come on, Python over all things.

  • @valdemarkatayamakjaer9304
    @valdemarkatayamakjaer9304 Před 5 měsíci

    A “problem” that prevents Julia to grow is the lack of support for…newbies! Python is taught for kids, teens. It’s everywhere. It’s used for practical things like office automation, web scraping, solve problems for regular people and daily needs. Julia’s developers seems to focus only on big tasks, math, engineering…but dont evangelize young people, they don’t advertise Julia as a fantastic general purpose tool. If they want to make Julia get users, get traction, they should invest more in the “grassroots”, not only the math/engineering/computing elites.

  • @oam-roinuy
    @oam-roinuy Před rokem +1

    Python must be the king in this versus. Women head stakes, they would run away

    • @carmen_13
      @carmen_13 Před rokem

      unfunny, unoriginal, dumb.

  • @73chetan
    @73chetan Před rokem

    The other day I asked Julia to execute a code , she rejected my request. She said she's busy learning coding in Python! What can I say interns will be interns ;)

  • @hptator
    @hptator Před rokem +3

    ptyhon = wc ipa, julia = neipa, java = crappy commercial lager, c++ = brew like a monk