filmov
tv
Calling C code from Julia | Building a Wrapper | Simple Tutorial
![preview_player](https://i.ytimg.com/vi/obCMGkQ8Y8g/maxresdefault.jpg)
Показать описание
Julia is a great language for speed and efficiency. Often you can implement many basic numerical algorithms with only very little overhead. Still, sometimes you want to call some code you created in another language, for instance c. Either you have access to the source file or just a compiled shared object, Julia allows calling the code with no overhead.
In this video, we look at how to use the Julia functionality called "ccall". I will show how to compile your code as a shared object. In the end, we will create a simple wrapper to make accessing the code even easier.
-------
-------
Timestamps:
00:00 Introduction
00:20 Compiling into a shared object
00:48 Creating a Function Pointer
01:22 Preallocate the arguments
01:43 Using "ccall" on the Function Pointer
02:31 Building a Wrapper
03:41 Outro
In this video, we look at how to use the Julia functionality called "ccall". I will show how to compile your code as a shared object. In the end, we will create a simple wrapper to make accessing the code even easier.
-------
-------
Timestamps:
00:00 Introduction
00:20 Compiling into a shared object
00:48 Creating a Function Pointer
01:22 Preallocate the arguments
01:43 Using "ccall" on the Function Pointer
02:31 Building a Wrapper
03:41 Outro
[06x05] How to Call C Code from Julia | How to Use Julia's printf Macro
Calling C code from Julia | Building a Wrapper | Simple Tutorial
Why Writing C Interfaces in Julia Is So Easy | Dheepak | JuliaCon 2019
[06x09] How to Embed C++ Code in Julia using CxxCall.jl
Julia: Calling Fortran Code with Julia
Julia and Geophysics: Rocking With C Calls and Metaprogramming | Carlos Filho | JuliaCon 2018
You Should Try Julia #coding #programming #computerscience
Julia High Performance| 4. Making Fast Function Calls
Julia How can we call a specific version of a function in Julia
Calling Julia From MATLAB Using MATDaemon.jl | Jonathan Doucette | JuliaCon 2022
Julia: Making REST API Calls
Comparing Julia and C
How to... compile your Julia code ahead of time - Mark Kittisopikul
Enabling reverse communication solvers and embedding Julia | Andy Greenwell | JuliaCon 2016
Make Your Julia Code Faster and Compatible With Non-Julia Code | Workshop | JuliaCon 2020
JuliaCon 2020 | Julia and C++: a technical overview of CxxWrap.jl | Bart Janssens
Overloading and/or (Multi) Methods in Julia, C, Odin, Nim, C#, & TypeScript
Jumping Into Julia From Another Programming Language | Talk Julia #2
Julia for Data Science - Video 11: Other Languages, by Dr. Huda Nassar (for JuliaAcademy.com)
CppWrapper: Write Julia modules in C++ | Bart Janssens | JuliaCon 2016
Rapidly Iterating from Prototype to Near-C Performance in Julia | Reid Atcheson | JuliaCon 2014
JuliaCon 2020 | Integrating Julia in R with the JuliaConnectoR | Stefan Lenz
Python vs Julia
SPMLJ 00 KOM 2: Julia overview [Intr to Sc Programming and ML with Julia]
Комментарии