Julia

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Julia

Post by saso »

Last edited by saso on Sun Nov 26, 2023 6:00 pm, edited 1 time in total.
User avatar
onekk
Veteran
Posts: 6199
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Julia

Post by onekk »

Did you try to use julia in a python script and see if it is usable as told in:

https://towardsdatascience.com/run-nati ... d3e1079385

To see how much gain there is in using julia?

If it is worth in term of speed and usability I think that some appropriate step by step instructions even if is you are adding and entire language suite will be worth to have as alternative to as example rewriting things in C++ for heavy computational tasks like Gordon Surfaces or similar computations.

In this case it will be interesting to see as example what is the overall space taken to install these packages and if they could be integrated in an AppIMage (so it is worth to see if conda is supporting julia).


Kind Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
mariusd
Posts: 1
Joined: Mon Jul 17, 2023 1:00 pm

Re: Julia

Post by mariusd »

I have switched to Julia after 10 years of Python and Matlab.
For loops were un-avoidable for my tasks. In such cases, I have measured Julia to be between 200x and 8000x times faster than Python. With the same coding effort, I've got this amazing boost in performance and I was able to explore a lot more ideas. I was able to run algorithms in 12 hours with Julia which would require more than 1 year of running with Python.
onekk wrote: Wed May 10, 2023 12:56 pm Did you try to use julia in a python script and see if it is usable as told in:

https://towardsdatascience.com/run-nati ... d3e1079385

To see how much gain there is in using julia?

If it is worth in term of speed and usability I think that some appropriate step by step instructions even if is you are adding and entire language suite will be worth to have as alternative to as example rewriting things in C++ for heavy computational tasks like Gordon Surfaces or similar computations.

In this case it will be interesting to see as example what is the overall space taken to install these packages and if they could be integrated in an AppIMage (so it is worth to see if conda is supporting julia).


Kind Regards

Carlo D.
Last edited by mariusd on Mon Jul 17, 2023 3:12 pm, edited 2 times in total.
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Julia

Post by saso »

Few videos on Julia from Engineering Research Training https://www.youtube.com/playlist?list=P ... -zYKZdeFUi

Getting Started with Julia: Workflow
https://www.youtube.com/watch?v=Xn-Q_wuR5Uo

Reverse mode AD / backprop: explanation, Julia example, and custom rules
https://www.youtube.com/watch?v=T4wdAjU9HGk

Using and Developing Julia Packages
https://www.youtube.com/watch?v=K7ip950421Y

Speed Performance w/ Julia Programming Language
https://www.youtube.com/watch?v=2UH4mSaXWJE
Post Reply