5 ms·
It is really cool to be able to open a browser in your desktop and visit your website, recursively. How many levels deep have you tested this?
by because_789 4y ago
It is really cool to be able to open a browser in your desktop and visit your website, recursively. How many levels deep have you tested this?
- r4cec4r 4y agoI was only able to go 1 level deep. I could open the top level browser and load the site which allowed me to open another browser but that wouldn't load the site.
- The_SamminAter 4y agoI tried on my phone, and found that I ran out of screen space before it stopped working. It was interesting, seeing all of the clocks tick, one above another, second after second.
- zelphirkalt 4y agoProperly coded, there is no reason to assume, that it would not work for an arbitrary depth. Considering, that this is on a website, and that it is running JS, which in most implementations does not implement tail call elimination, coding it properly probably involves externalizing the stack.
- rafram 4y agoThe browser is just an iframe, so tail call optimization isn’t relevant. https://github.com/DustinBrett/daedalOS/blob/b1681546a2ce990ad8b6d86c8373d137b377b839/components/apps/Browser/index.tsx#L165 https://github.com/DustinBrett/daedalOS/blob/b1681546a2ce990...