Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to create a web browser using assembly

Would it be possible to write a web browser entirely in assembly? If so, how exactly would this be accomplished? From what I've read online, it would use the 15h Interupt, but other than that I haven't found any other information. I'm mostly wondering out of curiosity, and have no ambition to attempt such a difficult project, but any information on this topic would be appreciated.

like image 941
MEv2.0 Avatar asked Nov 07 '13 18:11

MEv2.0


People also ask

Can I develop my own browser?

While there are many Internet browsers such as Internet Explorer, Firefox, Google Chrome and Microsoft Edge that can be downloaded and installed on your computer for free, creating web browsers yourself gives you more control over how you want to browse the Internet.

Is HTML a assembly language?

It's not. HTML is not a programming language, there's a reason why it's called hyper text markup language. It's interpreted by the browser (and that's why the same page sometimes behaves differently).

What languages do browsers support?

HTML, CSS and JavaScript are client-side languages, so web browsers “speak” them and translate them for visitors. There are also server-side languages (such as PHP, Python, Java, Ruby, etc) which work with data stored on the server (where the website is hosted) and hand this information to the browser.


2 Answers

Of course it's possible to create a Web browser or any other software in assembly language. After all, regardless of what language a program is written in, ultimately there are machine instructions that execute it. And assembly language is nothing more than human-readable machine instructions. So, yes, it's quite possible to write a Web browser in assembly language.

Whether you'd want to is another thing entirely.

like image 171
Jim Mischel Avatar answered Oct 03 '22 23:10

Jim Mischel


Creating of web browser in assembly language is possible of course. There was several attempts, some of them more or less successful.

MenuetOS 64bit has browser inside, as the author state, written in assembly language. Unfortunately, the project is closed source, so it can't be checked.

KolibriOS has lightweight browser (pretty feature limited though).

The main problem with such projects is that there are not enough people to work on them. Generally the assembly programmers have different interests and they are too few these days to waste its time for web browser programming.

like image 39
johnfound Avatar answered Oct 03 '22 23:10

johnfound