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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Roblox has ported the entire front end JavaScript stack to Lua

52 点作者 wsc98111 个月前

5 条评论

SpaceL10n11 个月前
I&#x27;m always fascinated by these decisions. Having only worked at smaller companies, I&#x27;ve never been involved in moving an entire stack away from the current&#x2F;primary language. The feature backlog coming from the business never, ever, includes items like &quot;change programming languages&quot;. It&#x27;s always filled with customer or business facing features. And when faced with tough deadlines, as the adage goes, the devil you know is better than the devil you don&#x27;t.<p>I have worked on some legacy systems with languages like classic ASP and ColdFusion, and I would advocate against continuing to use them, only to ultimately be met with some feature request deadline. I know Roblox employs a ton of engineers (alright, more than a ton) but this decision couldn&#x27;t have come lightly. How did this change come to be? Seems like it was a slow, organic, port of parts of their system over to Lua. What percentage of their engineering resources was spent working on this port, and will the gains made from switching to Lua outweigh the loss of productivity on the feature request backlog? Maybe they were blocked by JS and could only solve certain problems with Lua? Either way, this is very neat and makes me wonder what effect this will have on the job market, and if more large organizations going to follow suit and abandon JS in favor of Lua...
评论 #40741285 未加载
评论 #40741145 未加载
gsck11 个月前
It is certainly an impressive feat, they all work and perform pretty well. They&#x27;re doing this to dog food their own engine, mainly the UI side of it.<p>As far as I am aware all apps now use this instead of the native&#x2F;web stacks they were using before, but its been a bit of a rocky transition.<p>Having used their website for years it just works and is pretty fast (However it is much slower in recent years than it once was), the new in-engine app just feels kinda clunky, its all incredibly slow and janky. Definitely not the smoothest of transitions
评论 #40740446 未加载
whalesalad11 个月前
Can someone help me understand why?
评论 #40740486 未加载
评论 #40740412 未加载
评论 #40740332 未加载
评论 #40740309 未加载
评论 #40740952 未加载
评论 #40740549 未加载
评论 #40740294 未加载
harrisonjackson11 个月前
Wow this sounds like a big undertaking. They translated react 17 to lua and a bunch of other libs. This makes dog fooding more things possible but I don&#x27;t see how for some of these...<p>I am interested in any tooling or AI they used to help automate this.<p>The most useful lua code that I&#x27;ve written was very basic openresty nginx scripting around SSL certificates
robotmachine11 个月前
Offtopic, but `zack_overflow` is an excellent username.
评论 #40740546 未加载
评论 #40740397 未加载