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: June 16, 2024, 9:26 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is CS a science or engineering, or maybe something else?
#86
RE: Is CS a science or engineering, or maybe something else?
(November 4, 2023 at 7:42 am)FlatAssembler Wrote:
(November 3, 2023 at 6:55 am)LinuxGal Wrote: 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.

Damn kids these days, everything has to be in a Gooey.

[Image: screenshot_2023-11-04_06-05-15.png]

What you do is SSH out to the server, which is typically Linux these days, code your ass off, and if you run into a problem with "infinite loops" or some such that's a you problem, not a server problem, because, permissions.
Reply



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

Possibly Related Threads...
Thread Author Replies Views Last Post
  Does a natural "god" maybe exist? Skeptic201 19 1784 November 27, 2022 at 7:46 am
Last Post: BrianSoddingBoru4
  Something from Nothing Banned 66 11914 March 7, 2018 at 5:52 pm
Last Post: The Grand Nudger
  Creatio Ex Nihilo - Forming Something out of Nothing? GrandizerII 70 12382 February 24, 2015 at 6:21 pm
Last Post: IATIA
  Why Something Rather Than Nothing? datc 249 32044 November 7, 2014 at 4:33 pm
Last Post: LostDays
  Something more. Mystic 20 2938 October 20, 2014 at 6:58 pm
Last Post: Mudhammam
  Can the laws of physics bring something into existence? Freedom of thought 23 5847 June 23, 2014 at 12:43 pm
Last Post: Surgenator
  The Meaning of the Universe - Maybe Beta Ray Bill 19 6580 June 4, 2014 at 5:20 am
Last Post: pocaracas
  The following is not a question: Can something come from nothing? Alex K 204 31633 April 16, 2014 at 6:02 pm
Last Post: ManMachine
  is there anyone else on this planet like me?? leodeo 37 5659 February 25, 2014 at 8:47 pm
Last Post: ShaMan
  Name 1 Something that You are Sure of Walking Void 59 11043 July 27, 2013 at 9:58 pm
Last Post: Zen Badger



Users browsing this thread: 1 Guest(s)