Hacker Newsnew | past | comments | ask | show | jobs | submit | akiro's commentslogin

Stellar performance! The fact it compiles to web wins my heart!


Shadow DOM is native web feature. If you don’t like it you can simply not use it. Lit does not force you to use Shadow DOM


> Shadow DOM is native web feature.

Doesn't mean it's a good feature. This is recognised even by people who push them: https://w3c.github.io/webcomponents-cg/2022.html

--- start quote ---

It's worth noting that many of these pain points are directly related to Shadow DOM's encapsulation. While there are many benefits to some types of widely shared components to strong encapsulation, the friction of strong encapsulation has prevented most developers from adopting Shadow DOM, to the point of there being alternate proposals for style scoping that don't use Shadow DOM. We urge browser vendors to recognize these barriers and work to make Shadow DOM more usable by more developers.

--- end quote ---


> If this funding is cut, we are concerned that we will see much less accessible content for everyone.

Yeah, that is exactly what Google is concerned about. /s


Looks quite nice! It would be more useful if it can be integrated into Slack, Jira etc. For example a slack bot could notify people if they, or their tasks were mentioned in a meeting.


This is such a good idea! We will add this to our feature list!


Will do! Thanks for the suggestion.


Amazing work! I would never have imagined someone will take CSS 3D rensering this far.

Regarding scalability, my previous experiences with similar rendering techniques is that this will definitely not scale on current GPU architecture.

The problem here is that with each polygon, your GPU api performs a draw call, an expensive operation you don't want to abuse. Also, updating matrix and other uniforms with each polygon is expansive. In a certain sense, your browser has to upload your entire geometry to GPU every single frame.

I can see this approach being useful for simple scenes with relatively flat objects. For an actual 3D geometry, I would never think using this in production.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: