General info

Icebreaker

Are you writing Python and/or Rust (add an "o" at the end of the line)?

  • Python: ooooooooo
  • Rust: ooo

If yes, what do you like about Python?

  • Clear, organized model and principles
  • Unfussy
  • Simple, clear, no unnecessary surprises
  • Machine learning + scientific computing libraries
  • Ease of use + modular: lots of existing functionality to import
  • Extensibility
  • Easy to use interactively through the REPL

What do you like about Rust?

  • The cute crab logo :)
  • Fussy ;)
  • Safety
  • Tooling (Cargo)
  • Parallel libraries like Rayon
  • Leaves me less shellshocked than C++
  • I heard it's fast and safer than C++
  • The speed. And the noise. And the noise of the speeeeeed!

About the series

This is the second event in the Nordic RSE seminar series.

About the Nordic RSE

  • Represents Research Software Engineers in the Nordics.
  • Check out nordic-rse.org for other activities.
  • Registering as an association this fall.

Bio: Radovan Bast

  • Computational chemist turned research software engineer
  • University of Tromso, Nordic e-Infrastructure Collaboration, and Serit (Norway)
  • Working on https://coderefinery.org/
  • Otherwise working on:
    • few small libraries for computational chemistry
    • text analysis tools
    • computational geometry
    • optimizing codes
    • trying to improve usability and documentation on Norwegian high-performance computing resources
  • Spent few years writing Fortran, C, and C++
  • These days using Python (quick prototyping) and Rust (for its robustness, correctness), also JavaScript (because I don't like hosting own web servers)

Resources

Books/blogs/articles


Cool tools written in Rust

Ask your questions here

  • This is how I ask a question?

    • Yes it is
      • And this is another comment
      • Everyone can ask and answer questions :)
  • How about CUDA/HIP/? Is it also too early for this?

    • When in doubt: go through C interface.
  • So what happened to s1 in that example? It's not garbage collected as there's no garbage collector?

    • we can imagine that it got dropped (deallocated). more precisely, the ownership got moved so s1 is not pointing to that data anymore.
  • What about publishing source packages to PyPI?

    • Okay thanks
  • What does the & mean in Rust?

    • Reference to
  • What does cargo check check?

    • checks that all types match
  • PyO3 seems to have ways to reflect/wrap Python types into Rust but is there a way to have reflected/wrapped Rust types in Python like PyBind11/Boost::Python?

    • Yes I think you showed it. Thanks.

Thanks for the talk!
thanks!