[06x09] How to Embed C++ Code in Julia using CxxCall.jl

preview_player
Показать описание
You'll start by creating a C++ to Julia workflow template and then use that template to test several different C++ features in Julia.
By the end of this tutorial, you'll be able to embed your own C++ code inside of your Julia projects.

- This tutorial is intended for students, hobbyists and amateurs.
- This tutorial is episode 09 of a 13-part series and is part of the Intro to Low-level Languages for Julia Users playlist.
- Schedule: New tutorials are posted on Sundays / Mondays.
- Prerequisites: Julia, C, C++ and knowledge of basic programming concepts.

00:00 Intro
00:47 Background
03:42 "Hello, World!" (create C++ to Julia workflow template)
13:00 How to use C++ Function Overloading in Julia
18:22 How to Print a C++ Map in Julia
21:25 How to Call a C++ OOP Method in Julia
25:16 How to Use C++ OOP Polymorphism in Julia
29:22 Final Thoughts
30:50 Outro

########################################
# Links for this tutorial
########################################

# Code for this tutorial

########################################
# Links for this series
########################################

# Link to Series 6 Playlist [Low-Level Languages for Julia Users]

# The Julia Programming Language

# VS Code

########################################

Notice of Non-Affiliation and Disclaimer:
I am not affiliated, associated, authorized, endorsed by, or in any way officially connected with The Julia Programming Language, Julia Academy, Julia Computing, Microsoft, or any of their subsidiaries or their affiliates.
Nor am I affiliated, associated, authorized, endorsed by, or in any way officially connected with any software, packages, libraries or frameworks used in this video.
All marks, emblems and images are registered trademarks of their respective owners. Use of them does not imply any affiliation with or endorsement by them.

########################################

Join Button (Channel Membership):
If you like what I do, then please consider Joining and becoming a Channel Member.

Thank you!
Рекомендации по теме
Комментарии
Автор

Yes at 00:47 why talented programmers never give docs, tutorials and examples ? Else in your examples you could dive deeper by showing how to pass complex struct as argument, ie at 20:03 how to convert a Julia array into a C++ map and at 24:40 how to convert a Julia dog into a C++ dog and vice versa ?

quentinquadrat
Автор

Good to know about CxxCall.jl; I only knew about Cxx.jl, CxxWrap.jl and CxxInterface.jl

mariusdrulea