13

Python or JavaScript on backend ?

Comments
  • 12
    I see the hate coming
  • 13
    HoW aBoUt A rEaL lAnGuAgE
  • 6
    Your mom
  • 1
    Not even a web dev 🍿
  • 15
    @Demolishun Why would we want something so heavy on the resources?
  • 7
    Rust full stack
  • 0
    @wisefoolkp you're living up to your name with the rust advice but it's a hard transition from a front end language to a systems language.
  • 5
    If the project is meant to have multiple people working on it in the future, use Typescript. Python's type safety is still too recent, and most JavaScript modules have Typescript typings. Just please don't start coding in an untyped language. It only brings headaches and mental overhead when doing the slightest changes.
  • 4
    Java is love, java is life.
  • 5
    Is this a contest "which is the worst for the job" and we are already in the finals?
  • 3
    @Ih8windows java doods unite
  • 2
    @wisefoolkp I completely agree with you and I've had the same path as you. That's why I felt comfortable saying how different the languages are. I started with javascript, now work with Scala and have tried to learn rust.

    I really like it, it's paradigms are some of my favourite and I really like the style guide and naming conventions, but nothing in javascript or OOP languages prepare you for pointers, references or the ownership model. Things living on the heap or the stack may also be a foreign concept to anyone who hasn't studied computer science.
  • 1
    @cmarshall10450

    "but nothing in javascript or OOP languages prepare you for pointers, references or the ownership model"

    C++ be like: I am right here! Am I nothing to you? I also can do every programming paradigm.
  • 3
  • 1
    HoW aBoUt A rEaL lAnGuAgE
  • 1
  • 0
    @Demolishun I wasn't thinking of c++ when I said that. I really meant languages on the same level as java and not subsets of C where poitners aren't a thing.

    Also, "every paradigm" is a stretch. I can think of a few that c++ doesn't support. Rust doesn't use them either but that's probably because of they type of language that they both are.
  • 1
    @netikras absolutely barbaric
  • -1
    @cmarshall10450 I am curious now, what doesn't it support?
  • 1
    @AleCx04 oh staaahhhp it you.. you're making me blush
  • 3
    TL;DR: No scripts in backends

    I come from a c# background and even though I really liked the language, but im glad I no longer use it to develop server applications. It has gotten just to script like and it lacks in performance.

    After that I got into Java. I really liked it, but it felt not right to me. I still have to use it sometimes though.

    shortly after, I stared to use golang. and I fell in love with it. great community, many libs (one COULD use), fast development, and compilation low footprint (ram AND disk), native compilation, ...

    in the company I'm employed we have golang, Java, Javascript, python and some other languages on backend.
    the fastest and most reliable services are written in go. on top these services use the the least amount of resources.

    some services were ported from js to ts. the result: functions that had 3 parameters to it were called with 2 or 4,and some other ugly stuff that surfaced... at least use a language that forbids that.
  • 1
    Java with Spring Boot or Jakarta EE with microprofile
  • 2
    TypeScript
  • 0
    @wisefoolkp thanks for clear answer
  • 0
    @bartmr really appreciate your honest answer !
  • 0
  • 0
    @Demolishun I have ignore one of your comments and now its your second where you just have shown us how MF shi8y little bCh you are. Keep your fukin nose out of the way, or i am gonna crush it.
  • 0
    @Demolishun if you are not that stupid enough MF enough, to know the difference between a question or a rant. Then you should be kicked out. Its a fukin question you idiot. Do not violate the terms.
  • 0
    @hinst Good to know ! Thanks
  • 0
    @neriald that's even better !
  • 1
    Go to hell !

    The only acceptable backend language is C#. All others are inferior to our c# master race.
  • 2
    I once wrote a backend in Lua. At least I can safely recommend you NOT to do this.
  • -1
    How about brainfuck?
  • 1
  • 0
    @NoToJavaScript your alias definitely define everything about Js 😂😂😂.
    But good one
  • 1
    @Emphiliis love such comments where people share their story. Here you go with 3 hearts ♥️♥️♥️
  • 1
    @cmarshall10450 You're the only sane person here.

    Rust backend ♥
  • 1
    @olback every language used for its own purpose. My reason of asking this question was. To know how many people use which specific language.
  • 3
    @programmerbugx

    Use whatever language you want to. I've written a lot of backend stuff in Typescript and it's quite nice.

    Rust is more complicated but much faster and safer.
  • 2
    @olback now that's what i was looking for. Aye go with ♥️♥️♥️
  • 1
    @olback Why would you use something as complex as C++ or Rust for Backend Tasks? Is manual memory management really that important? I've actually never heard of a Rust Backend. The most popular languages are Java, Python, Golang, Ruby and similar. They are not exactly fast. I'm confused.
  • 2
    @Marl3x Why Rust? Because it's fast, thread safe, memory safe, type safe, did I mention it's super fast?

    Edit: Memory in Rust is managed but there's no garbage collection.
  • 2
    @olback Also super elegant
  • 0
    Is php backend? I mean Rust is on par with C++ as a systems level language.

    Python has more analytical libraries (well libraries for just about everything as well). Development time is really fast as well. Python can be quick if you code properly and push to internals.

    Javascript with JIT can be really quick. It also has tons of libraries now. Not sure about dev time. Is gaining traction for backend.

    Php is not bad either. It also has a huge amount of libraries available.

    Is your application for analytical? If so Python might be a better choice.
  • 3
    @olback @12bitfloat @Marl3x can't forget about the compiler and borrow checker catching a lot of errors that could possibly happen at runtime.

    Rust also allowed Mozilla to compute css in parallel in their first attempt after failing to achieve it 3 times in c++.
  • 1
    Neither.

    Java, C# or Go
  • 0
    @-pthread It was a sarcasm
Add Comment