Series announcement: What happens when...?

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 2024

ความคิดเห็น • 4

  • @JoãoNunoCarvalho
    @JoãoNunoCarvalho ปีที่แล้ว +3

    That's really nice! Excelente ideia!
    Start with string processing, with builder, with convertion from builder to string, from string to cstring, the parse API, imulation of a scanf in odin.
    Talk about the glibc calls in Linux, how do they work in the context of Odin, talk about process creation, talk about the multi thread API, How they work and why was it implemented that way.
    Talk about the generic parameter tests in the when clause, how it all works the fact that they come from runtime methods written inside the compiler with LLVM, show all the phases and all the code from your Odin call to the lines inside the Odin compiler. Link to the wonderful talk from gingerBill about how the compiler works.
    Show how you can align memory of a dynamic array, with a allocator,
    show how all the allocator works inside the code, including the tracer and the stack print out allocator works that says exactly where you have a memory dynamic memory error occuers.
    show how to use grep with -C4 and other flags to find examples for your Odin code inside the Odin core libraries.
    show how to use the c mappings and how they work, for obj, for static library and for dynamic library.
    show how to make a Python and a Julia module with Odin, show how to pass a NumPy Array and a 1D , 2D and 3D array to Odin and back again in a external C bindings call.
    show how to map all the kinds of C function parameters to and from C and read and write them in Odin.
    show how implement code in Odin that is a translation of C code, for example Structures and Union creation, Enums and pointer arithmetic, god strategies for it and the function to use. Show hot to make overflow arithmetic in Odin for when you have a algorithm that uses that in C.
    Show how to use SIMD instruction or API Intrinsics in Odin, in the context of algorithms.
    Keep up the good work,
    best of luck

    • @mccGoNZooo
      @mccGoNZooo  ปีที่แล้ว

      We will certainly cover a lot of these things, but let's let this play out piece by piece for now. :)

  • @encapsulatio
    @encapsulatio ปีที่แล้ว +1

    Do you have any video where you talk more in depth how you ended with Odin and what languages did you gave a proper try writing nontrivial applications to evaluate how well features interact?
    I see Haskell is one but what other languages did you try and especially how many of the low level languages did you evaluate until you finally decided on Odin?
    Also what features that exist in other languages that would not detract from simplicity or readability or debugging ease would you like to see in Odin, that is close but not quite the GRAIL language that reaches perfection for you personally?

    • @mccGoNZooo
      @mccGoNZooo  ปีที่แล้ว

      I made a video with a sort-of answer to some of this: th-cam.com/video/vFFcCLzOOyw/w-d-xo.html