TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Explore the Capabilities of Broadcasting in Julia Programming

27 点作者 xgdgsc6 个月前

5 条评论

npalli5 个月前
Julia syntax is so nice and consistent, a welcome relief from the oddball things that are a result of a mishmash in numpy/python/pandas world. Damn shame it hasn't taken off as much. While Multiple dispatch is great, I feel it doesn't scale to large programs. Julia syntax + compile time polymorphism (like C++) + gc + single executable would be a killer language for HPC and Scientific computing.
评论 #42297070 未加载
评论 #42296738 未加载
评论 #42297917 未加载
评论 #42296546 未加载
ayhanfuat5 个月前
I think implicit broadcasting in numpy made it difficult for a lot of people to grasp the concept. When it works, it works like magic. Sometimes it is intuitive. But then it stops working and because you actually never learned the logic behind it it turns into a mess. I had been (mostly successfully) using broadcasting for years before I started playing around with Julia and only then the concept clicked. I think their choice of being explicit here makes a lot of sense.
评论 #42324131 未加载
Joel_Mckay5 个月前
The broadcast operator just sits there like it didn&#x27;t reduce an entire programming paradigm down to a single character.<p>Julia is the first fun language I&#x27;ve seen in years. =3
Certhas5 个月前
I think broadcasting is really one of the points where Julia shines.<p>It&#x27;s worlds ahead of Python&#x2F;numpy.
poulpy1235 个月前
I may be too used of python&#x2F;numpy but I wonder if it would not have been better to broadcast implicitly and use the dot when we want to not broadcast