TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Monte-Carlo optimization of a gun-fight in Julia 1.0

4 pointsby gieksoszalmost 7 years ago

1 comment

gieksoszalmost 7 years ago
I wanted to take Julia for a spin and see how implementing some simple numerical computation would go. This script does not really use the most distinguishing features of Julia 1.0, the same logic could be implemented in Python for instance. But those are the first steps, later I will try to implement something more sophisticated. As to my findings about Julia itself:<p>- a syntacticly pleasant language! I like the multi-line expression with begin -&gt; end (you can see a few examples in the code)<p>- packaging is in a bit of a flux still, but it is expected<p>- documentation is pretty good<p>- linear-algebra operations as a first class citizen, random number generation as well. Plenty of other features like that that make numerical code in Julia somewhat more compact and idiomatic
评论 #17826167 未加载