Automatic Differentiation with Julia
blog.rogerluo.me
Automatic Differentiation with Julia
1–10 of 83 posts
Re: Automatic Differentiation with Julia
#2https://www.infoworld.com/article/3284380/data-science/what-...
Close to C speed in a dynamic language? Seems pretty great on paper. Is this generally the case?
Re: Automatic Differentiation with Julia
#3For those curious about Julia, I just found this: https://www.infoworld.com/article/3284380/data-science/what-... Close to C speed in a dynamic language? Seems pretty great on paper. Is this generally the case?
Re: Automatic Differentiation with Julia
#4The Julia world has done a lot of experimentation with AD and is converging on some really cool things, so if you're interested in this field it's definitely worth a look.
[1]: https://github.com/FluxML/Flux.jl/blob/master/src/tracker/Tr...
Re: Automatic Differentiation with Julia
#5For those curious about Julia, I just found this: https://www.infoworld.com/article/3284380/data-science/what-... Close to C speed in a dynamic language? Seems pretty great on paper. Is this generally the case?
function foo(x)
#do something
end
and you call foo(10) and foo("some string"), then the compiler will create specialized methods foo(x::Int) and foo(x::String). Then there is no need for tracking the dynamic type of x inside these functions.Re: Automatic Differentiation with Julia
#6Re: Automatic Differentiation with Julia
#7Julia is a great language, but I'm still waiting for someone to create a Julia fork that uses 0-based indexing.
https://docs.julialang.org/en/latest/devdocs/offset-arrays/
Having said that, I encourage you to try out the 1-based indexing, as I think you might find a lot of things become surprisingly more intuitive.
Re: Automatic Differentiation with Julia
#8Julia is a great language, but I'm still waiting for someone to create a Julia fork that uses 0-based indexing.
Re: Automatic Differentiation with Julia
#9For those curious about Julia, I just found this: https://www.infoworld.com/article/3284380/data-science/what-... Close to C speed in a dynamic language? Seems pretty great on paper. Is this generally the case?
The performance is awesome, the REPL is super great as well. There's libraries that I'm itching to try out as soon as I've got a relevant project (Flux ML being the top of that list).
There's been a lot of situations in using it where I've just gone "this is everything I needed/wanted": the performance, the language features and API design, etc.
Plus there's a lot of very interesting things going on with the language and ecosystem, I definitely recommend trying it out.