News for hackers. Stuff that matters.
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by gmueckl on Tuesday June 10, 2025 @03:58PM (#44240800)
This is just blatantly wrong. There are so many native resources that any serious 3D application requires access to that are blocked by browsers that this statement just isn't true and never will be.
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by joeevans1000 on Tuesday June 10, 2025 @04:50PM (#44241309)
That's why I said 'can'. Once OS's lift restrictions on what browsers can access then we'll finally have something more close to 'write once run everywhere'. But that wouldn't really help the proprietary software systems and companies.
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by capyba on Tuesday June 10, 2025 @10:50PM (#44243731)
Or just write it in java
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by SunlitCat on Tuesday June 10, 2025 @11:25PM (#44243928)
Was about to say "If we only have some kind of runtime system, which could run an app exactly the same on every supported operating system without needing to port that app, that would be awesome!". :D
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by gmueckl on Wednesday June 11, 2025 @02:36AM (#44244784)
If you want performance, you actually wouldn't want it to be exactly the same, ironically. You'd want to include hardware specific optimizations where needed. And unless Java has changed dramatically, this would at least require implementing the core performance critical parts in another compiled language.
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by SunlitCat on Wednesday June 11, 2025 @04:03AM (#44245269)
Well, yes. I totally agree with you on that one!

The original comment was about (mis)using the browser as some kind of platform independent runtime environment for apps.

Admittedly, at my workplace, I created a few (very simple) html/javascript based apps to get some tasks done quickly (like sorting some tables, or a little task planer tool) as it is convenient, because a browser is something you have everywhere.

Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by abe_m on Tuesday June 10, 2025 @05:33PM (#44241696)
Out of curiosity, what native resources are needed? It seems Solidworks mainly needs access to the file system, GPU, and perhaps networking. GPU and networking in the browser, and the file handling could be implemented over the network instead of locally.

For most current pro CAD, certainly there are a lot of calls to Win32 libraries on Windows, but those aren't fundamentally needed by a CAD system. There was professional 3D CAD before Windows.

I don't know what native hardware would be needed that isn't already accessible through current Chrome?

Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by davidmurdoch on Tuesday June 10, 2025 @08:38PM (#44243075)
Browsers do offer a file system now, too.
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by gmueckl on Tuesday June 10, 2025 @10:40PM (#44243697)
There is the full power of CUDA kernels, for starters. Then there's a lot of potential low level optimizations that browsers don't enable that can easily make a 2x to 10x performance difference. Also, there is no good way to give hard bounds on memory usage.
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by ath92 on Wednesday June 11, 2025 @01:26AM (#44244462)
CUDA kernels are a non starter because they require Nvidia GPUs. Things like CAD software will mostly use some kind of lower common denominator graphics layer like openGL. Webgpu is actually a decent alternative to that.

There certainly are optimisations that aren’t possible in web browsers today. Arbitrary wasm memory constraints and difficulties around cpu multithreading or simd for example. But CUDA kernels aren’t a realistic option for most cad software.

Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by gmueckl on Wednesday June 11, 2025 @02:32AM (#44244773)
Ansys runs on CUDA. That the reality of your "non-starter".
Re:Show HN: Chili3d – A open-source, browser-based 3D CAD ap... by abe_m on Thursday June 12, 2025 @05:38PM (#44263476)
I think the use of CUDA is niche in the CAD world, probably constrained to a sub-set of FEA. We dropped 6 figures on an Abaqus system -> new hardware, new software within the last couple of years, and a lot of the analysis still runs on the CPU, with a bit of off load to the GPU.

On the performance end, the is a wide range of CAD that was done on systems more than 10x slower, so that also may not be a deal-breaker. For the simpler end of professional CAD operation, I haven't noticed any performance gain from a 2nd get Core i7 to a 10th gen. On the high-complexity end, there is some benefit for some operations, but certainly there is a wide scope of application that could be fine with only 10% of peak performance on newer work stations.