Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: December 25, 2024, 2:50 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is CS a science or engineering, or maybe something else?
#84
RE: Is CS a science or engineering, or maybe something else?
(November 3, 2023 at 6:55 am)LinuxGal Wrote:
(November 3, 2023 at 5:22 am)FlatAssembler Wrote: I am quite sure most 3rd-year computer engineering students wouldn't even know how to begin making an assembler runnable in a browser, for the simple reason that they don't know anything about compiler theory. They don't know what "tokenizer" or "parser" even are, much less how to make one. Not to mention they have zero experience with JavaScript.

There's these things called servers. A browser is a client.  No engineer has made an assembler run "in a browser" precisely because they're engineers. If someone told you to do it, it would be along the lines of telling a Navy boot fresh on the boat to go fetch sound powered phone batteries.

Well, I have a Bachelor degree in computer engineering, and I think that, when making web-apps, everything that can be done on the client, should be done on the client. I can think of four reasons for that:
1. You want your web-app to be usable even when the Internet connection is unstable. Had I made the assembler run on the server, the user could not assemble programs when the Internet connection breaks.
2. Complicated algorithms, such as ones found in assemblers, might contain memory leaks or infinite loops. It is much better if that happens inside a browser than on a server to make your entire website go down.
3. Suppose you get banned by your web-host for hate speech, as has happened to me once already. If the core functionality of your web-app is server-side, you need to find another web-host which supports that same programming language you used to program the back-end. If you do as much as possible client-side, then the core functionality of your web-app will remain available no matter the webhost.
4. JavaScript is the most popular programming language these days. Had I done the core of my web-app in a language other than JavaScript (and, let's face it, doing a back-end in JavaScript is a bad idea now, and will remain so in the near future), maybe I would not get contributors on GitHub.
Reply



Messages In This Thread
RE: Is CS a science or engineering, or maybe something else? - by FlatAssembler - November 4, 2023 at 7:42 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  Everything, Something's or Nothing Lord Andreasson 28 1614 October 4, 2024 at 2:48 pm
Last Post: The Grand Nudger
  Does a natural "god" maybe exist? Skeptic201 19 2446 November 27, 2022 at 7:46 am
Last Post: BrianSoddingBoru4
  Something from Nothing Banned 66 14084 March 7, 2018 at 5:52 pm
Last Post: The Grand Nudger
  Creatio Ex Nihilo - Forming Something out of Nothing? GrandizerII 70 14234 February 24, 2015 at 6:21 pm
Last Post: IATIA
  Why Something Rather Than Nothing? datc 249 39014 November 7, 2014 at 4:33 pm
Last Post: LostDays
  Something more. Mystic 20 3407 October 20, 2014 at 6:58 pm
Last Post: Mudhammam
  Can the laws of physics bring something into existence? Freedom of thought 23 6639 June 23, 2014 at 12:43 pm
Last Post: Surgenator
  The Meaning of the Universe - Maybe Beta Ray Bill 19 7133 June 4, 2014 at 5:20 am
Last Post: pocaracas
  The following is not a question: Can something come from nothing? Alex K 204 36933 April 16, 2014 at 6:02 pm
Last Post: ManMachine
  is there anyone else on this planet like me?? leodeo 37 6663 February 25, 2014 at 8:47 pm
Last Post: ShaMan



Users browsing this thread: 2 Guest(s)