--- title: "Which came first, JavaScript or Twitter?" description: "JavaScript vs Twitter: JavaScript came first, by 11 years — 1995 against 2006. What happened in each case, and why the dates are often given differently." url: https://atoneplace.net/which-came-first/javascript-vs-twitter/ site: "At One Place" --- # Which came first, JavaScript or Twitter? **Which came first, JavaScript or Twitter?: JavaScript** 1995 — 11 years before Twitter JavaScript came first, by 11 years. Brendan Eich wrote it in ten days for Netscape Navigator. ## Side by side | | JavaScript | Twitter | | --- | --- | --- | | Year | 1995 | 2006 | | Date | — | 2006-03-21 | | Category | technology | technology | | What happened | Brendan Eich wrote it in ten days for Netscape Navigator. | Jack Dorsey posted the first tweet. | ## JavaScript JavaScript was written in about ten days in May 1995, shipped in Netscape Navigator 2.0 later that year, and was called LiveScript until December, when Netscape renamed it as part of a marketing deal with Sun. It has nothing to do with Java beyond some borrowed syntax. Standardisation as ECMAScript followed in 1997, and the language spent a decade being treated as a toy before it became the most widely deployed programming language in the world. ## Twitter The first tweet — "just setting up my twttr" — went out on 21 March 2006, and the service opened publicly that July. The 140-character limit came from SMS: a text message allows 160 characters and 20 were reserved for the username. When the limit doubled to 280 in 2017 the SMS constraint had been irrelevant for years. ## Common questions ### Which came first, JavaScript or Twitter? JavaScript, by 11 years — 1995 against 2006. ### When did JavaScript start? 1995. Brendan Eich wrote it in ten days for Netscape Navigator. ### When did Twitter start? 2006. Jack Dorsey posted the first tweet. ## Related pages - [Apple or JavaScript?](https://atoneplace.net/which-came-first/apple-vs-javascript/) - [the internet (ARPANET) or JavaScript?](https://atoneplace.net/which-came-first/arpanet-vs-javascript/) - [the internet (ARPANET) or Twitter?](https://atoneplace.net/which-came-first/arpanet-vs-twitter/) - [email or JavaScript?](https://atoneplace.net/which-came-first/email-vs-javascript/) - [email or Twitter?](https://atoneplace.net/which-came-first/email-vs-twitter/) - [the Macintosh or Twitter?](https://atoneplace.net/which-came-first/macintosh-vs-twitter/) - [Python or Twitter?](https://atoneplace.net/which-came-first/python-vs-twitter/) - [Java or JavaScript?](https://atoneplace.net/which-came-first/java-vs-javascript/) - [Java or Twitter?](https://atoneplace.net/which-came-first/java-vs-twitter/) - [JavaScript or Microsoft?](https://atoneplace.net/which-came-first/javascript-vs-microsoft/) - [JavaScript or the Macintosh?](https://atoneplace.net/which-came-first/javascript-vs-macintosh/) - [JavaScript or Windows?](https://atoneplace.net/which-came-first/javascript-vs-windows/) ## Sources - Wikidata — Wikimedia Foundation (https://www.wikidata.org/) [CC0 1.0]