3 ms·
"How I built my own browser, starting with nothing but a browser" Next up: how I painted my own Impressionist masterpiece, starting with nothing but a high-res
by kragen 7y ago
"How I built my own browser, starting with nothing but a browser"
Next up: how I painted my own Impressionist masterpiece, starting with nothing but a high-resolution camera, access to a museum, and an inkjet printer; how I wrote my own operating system, starting with nothing but Linux (ahem, https://gitlab.com/kragen/bubbleos https://gitlab.com/kragen/bubbleos doesn't have a kernel yet); how I built my own sports car, starting with nothing but a Lamborghini.
Claiming that you've written "a new web browser" because you've stuck your own URL bar and tabs on Blink is absurdity bordering on fraud, like claiming that Shiva Ayyuradai "invented email", that tempered glass ovenware is "pyrex", that physics and chemistry are "not philosophy", that submicron gold particles are "nanotechnology", or that Ayn Rand is "a philosopher". It's the kind of claim that can only survive by redefining a decades-old term to mean something much more trivial.
- hombre_fatal 7y agoDoesn't seem that scathing of a criticism. I'd consider Beaker Browser (https://beakerbrowser.com/ https://beakerbrowser.com/) to be its own browser even though it's "just" an Electron app. Brave is another example: it's "just" Chromium. Or Firefox and Chrome on iOS: just Webkit wrappers. You can come up with your own completely novel UI on top of a browser that is indistinguishable from "your own browser" to the end-user. Mincing words with implementation detail just seems like a tired "well actually" HN gotcha.
- kragen 7y agoBoth the Beaker Browser and Brave offer new functionality that go well beyond adding some buttons. > You can come up with your own completely novel UI on top of a browser Not if it's Blink or WebKit; they want to draw stuff with pixel-perfect control. > that is indistinguishable from "your own browser" to the end-user In https://news.ycombinator.com/item?id=22359642 https://news.ycombinator.com/item?id=22359642 I list 10–12 ways that even Beaker or Brave are distinguishable from "your own browser".
- sli 7y ago> Both the Beaker Browser and Brave offer new functionality that go well beyond adding some buttons. In what way does the browser in the article not offer new functionality? The entire reason it exists is to offer functionality not found in typical browsers.
- fao_ 7y ago> Beaker Browser (https://beakerbrowser.com/ https://beakerbrowser.com/) to be its own browser even though it's "just" an Electron app The Beaker Browser actually supports other protocols than just HTTP(S). I think it's fair to be frustrated that the person in question didn't implement the engine at the core of it. That being said, I disagree with the criticism in the parent poster -- the interface seems to be sufficiently novel enough to warrant interest.
- frabert 7y agoReminds me of when I started programming WinForms apps in C#, and one tutorial was about "building a web browser". Sounded super cool! Except the first step was "drag WebBrowser into the form". Yeah, that's not a new web browser, that's some buttons to control IE.
- rafaelvasco 7y agoHehehe. Good times. Really liked WinForms when I was starting C#; Its ease of use was never replicated again with newer tech like WPF, due to the inherent complexity of WPF compared to WinForms;
- thedirt0115 7y agoIf you're still interested in writing your own browser from scratch, this series of posts (in Rust instead of C#, sorry!) is a good introduction: https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.html https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.h...
- Spivak 7y agoDoes this comment have to come up every time someone builds a browser chrome with an existing engine? The chrome is what makes it a “browser” — ya know the tooling that’s lets you browse web pages with a url bar, keyboard shortcuts, tabs, windows. The thing that people have extremely strong preferences about and are what constitutes almost the entire identity of a web browser. “How I build my own file manager with nothing but a filesystem.”
- deleted 7y ago[deleted]
- kragen 7y ago> Does this comment have to come up every time someone builds a browser chrome with an existing [browser] Only when they claim it's their own web browser, because that's a claim that deserves ridicule. Experimenting with the chrome on browsers is a praiseworthy and worthwhile activity, just different from writing new browsers. > The chrome is what makes it a “browser” — ya know the tooling that’s lets you browse web pages with a url bar, keyboard shortcuts, tabs, windows. The thing that people have extremely strong preferences about and are what constitutes almost the entire identity of a web browser. I don't think so, no. Some interesting differences between browsers might include: 1. Is it compatible with Slack? 2. How many megs of RAM does it need to run Slack? 3. Does it pass the ACID test? (Substitute modern equivalents.) 4. Does it support current ECMAScript, or does it require me to recompile my code to an older version? 5. Is it vulnerable to Google inserting malicious code into the next version to remove functionality I depend on? 6. Does it include the vulnerable code in the CVE that was just disclosed in WebKit, or am I safe without risking an upgrade? 7. Can I run it in a terminal? 8. Can I recompile it for the 68000? 9. Does it have new, possibly experimental features like freezing the execution of a page to save battery, WebAssembly, the Tcl/Tk plugin, PDF rendering, TeX rendering, or SQLite access? 10. How fast is it? 11. How well is it protected from cross-site cookies and paywalls? 12. Can it archive the version I'm looking at of this page, or am I vulnerable to the New York Times silently editing their article after the fact? 13. What protocols can it access data over — can it do Gopher, dat:, or BitTorrent? All of these except #13 have everything to do with the browser engine and nothing to do with what the URL bar looks like. There must be some people whose preferences about their browser's keyboard shortcuts are stronger than their preferences about things like whether it runs the web apps they need to use, but I haven't met any of them.