Exploring Structs in the Julia programming language with Logan Kilpatrick

Поділитися
Вставка
  • Опубліковано 21 вер 2024

КОМЕНТАРІ • 29

  • @thgeremilrivera-thorsen9556
    @thgeremilrivera-thorsen9556 Рік тому +1

    For a Julia newbie with a Python background, this was short, sweet and incredibly useful - thanks!

  • @gabrielnicolosi8706
    @gabrielnicolosi8706 2 роки тому +12

    Thanks, I wish there were more like this!

  • @deyandyankov9896
    @deyandyankov9896 2 роки тому +12

    let's rename birthday() to birthday!()

  • @TheEarlVix
    @TheEarlVix 2 місяці тому

    My first look at Julia code and I like it!

  • @DrRandyDavila
    @DrRandyDavila 2 роки тому +8

    Yesssss, Logan killing it again

    • @KevinFlowersJr
      @KevinFlowersJr 2 роки тому

      What are odds?

    • @KevinFlowersJr
      @KevinFlowersJr 2 роки тому +1

      By the way, you were right. It took a while, but I did eventually find my way back to maths (in a very roundabout, informal way). Incidentally, topological data analysis (TDA) led me to sheaves (as models for distributed networks) which led me to (hyper)graphs. There don't seem to be any ways in Julia to visually represent directed hypergraphs in an intuitive way, so now some of my time is spent trying to figure out how to make that happen (and software development is more enjoyable than I expected albeit slow-going).

    • @julianvillaquira4127
      @julianvillaquira4127 Рік тому

      ​@@KevinFlowersJrhi, can you elaborate on hoy you use a sheaf to model a network? Any reference will be appreciated, thanks!
      😊

  • @rwp8033
    @rwp8033 2 роки тому +6

    I missed that ! at the end of the birthday function

  • @kamilziemian995
    @kamilziemian995 11 місяців тому

    Thank you Logan Kilpatrick for your work.

  • @milesstoudenmire1220
    @milesstoudenmire1220 2 роки тому +3

    Really nice video - will share with new users that I work with

  • @1potdish271
    @1potdish271 2 роки тому +10

    This is really great. I would love to use but which companies use Julia and for which application? Sad but this is the most underrated programming language.

    • @androth1502
      @androth1502 8 місяців тому

      julia is targeting mathematicians, physicists and data scientists, who are mostly happily using python, and now they are being romanced by a new language called mojo that uses python syntax and integrates AI. so it's a tough fight for julia to get noticed.

  • @oterotube13
    @oterotube13 2 роки тому +6

    More videos please

  • @nrao8977
    @nrao8977 2 роки тому +9

    Nice, short, and concise
    Question: Does Julia have Inter Process Communication (IPC) - a feature in C Language? Thanks

    • @LoganKilpatrickYT
      @LoganKilpatrickYT 2 роки тому +2

      Good question, I suggest posting on discourse.julialang.org

    • @oscarsmith3942
      @oscarsmith3942 2 роки тому +2

      Julia works with MPI, and the Distributed module allows for simpler communication between processes.

    • @nrao8977
      @nrao8977 2 роки тому

      @@oscarsmith3942
      Interesting. I thought I came across something, after I posed the question, that Julia had IPC, sockets, etc.
      I decided to look into the matter when I had time.
      However, MPI is a messaging framework. I would not call it comparable to IPC. Correct me if I am wrong, while IPC (in C language) operates at the OS level, I would imagine MPI is a library and is stand alone. If that is true not what I am looking for. I need a far more tightly coupled architecture.
      Thanks though. Appreciate your reply

    • @sashaabramowitz8440
      @sashaabramowitz8440 2 роки тому +5

      @@nrao8977 Julia has a very powerful threads framework. Where you can manually create and manage new threads and thus pass information between them or use an openMP style of parallelism with
      @theads for i 1:10
      Happens on different threads...
      end

    • @nrao8977
      @nrao8977 2 роки тому +1

      @@sashaabramowitz8440
      Thanks 😊
      I guess I will have to try it out and time my tests

  • @TheOtherSteel
    @TheOtherSteel 2 роки тому

    I got to 01:13. The text 9f the code displayed is too small to read. The UA-cam app does not allow me to zoom in on a video.

  • @GoatyGoY
    @GoatyGoY 27 днів тому

    Am I right in understanding of Julia convention, that the birthday function should have actually been named birthday! because it acts to change its argument?

    • @TheJuliaLanguage
      @TheJuliaLanguage  25 днів тому

      Yes! Although it is just a convention, there are examples even in Julia Base that don't include the exclamation, for instance file IO functions like `seek`.
      In this case your version is a good choice

  • @gustavoviana1178
    @gustavoviana1178 2 роки тому

    Nice video!

  • @SandrosFist
    @SandrosFist 11 місяців тому

    Can I genuinely ask why use Float64 for age in the Human struct when a UInt8 is more than enough?

  • @vishalpaudel
    @vishalpaudel 6 місяців тому

    How does he copy 'obj1' at 01:23 ??

  • @alijvn3783
    @alijvn3783 2 роки тому +2

    Are you seriously 44?!!!!

  • @rtdietrich
    @rtdietrich Рік тому

    The description of how a function suddenly appears in the Struct is much too thin