1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Thoughts on S&Box being C# rather than Lua

Discussion in 'Casual Discussion' started by Aberidius, Sep 21, 2017.

  1. alexanderk

    alexanderk a Legend

    I freaking hate the new "cool thing" for using HTML/CSS literally everywhere. They need to include a rendering engine which usually sucks dick (because it uses so much freaking memory, see Spotify that can idle at 1.5GB of RAM after they updated to web based), and just that alone kills it for me.. Sure, it's cool to be able to make UI easily, but it's even better when the UI doesn't use 600MB of memory, while the software itself uses 300MB.

    Oh, for Blizzard who suggests C# is easier to learn than Lua, what exactly have you developed in it? I can guarantee it gets more difficult when you make something more than a console application or something that downloads a file
     
    • Agree Agree x 1
  2. Aberidius

    Aberidius Chief Technology Officer Staff Member Administrator Store Support

    Yea.. I've started working with C# in Unity now. It feels more complicated than GLua.
     
  3. Blizzard

    Blizzard Clockwork Customer

    I didn't develop anything in it quite yet... I am using this app on my phone to learn PHP, and they also have different coding languages on there such as C#, and it looks much easier than C++ to me... and a bit easier than lua but that's probably because I'm an impatient motherfucker xD
     
  4. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    C# is more like Java than it is to C++.
     
    • Agree Agree x 2
    • Like Like x 1
  5. Blizzard

    Blizzard Clockwork Customer

    Ah.
     
  6. RJ

    RJ no pay Legend Clockwork Customer

    As someone who worked with Java in college and had a language research project on C#, this is entirely true. If you know Java you'll know C#.
     
  7. duck

    duck Phant0m Legend

    Of course it's much easier than C++. C++ is unmanaged. You have to allocate and free everything yourself. C# takes care of most of that, as does Lua. Just because C# is easier than C++ doesn't mean it's easier than Lua.
     
    • Like Like x 1
  8. Blizzard

    Blizzard Clockwork Customer

    Eh, I guess. I probably have to go more in-depth to see the comparison.
     
    • Agree Agree x 1
  9. karl-police

    karl-police Hotrod turret Clockwork Customer

    LUA is like C and C# together
     
  10. I'm indifferent on it, it would probably be a little difficult to learn, but I dunno.
     
  11. Blizzard

    Blizzard Clockwork Customer

    It honestly looks cleaner in a way.... like I said I haven't really explored it as much as just looking over some of the code. Speaking of S&Box is there an ETA on a release date?

    E: Nevermind, just saw it is still in a prototype stage.

    On another note, I think I am going to fucking LOVE the hotloading !!!
     
    Last edited: Sep 24, 2017
  12. RJ

    RJ no pay Legend Clockwork Customer

    I think that's because C# is more intuitive than Lua. C# arrays start at 0 like every other language whereas Lua starts at 1. You don't have to guess what kind of data you're working with in C#, a number is always a number unless you explicitly convert it. Yadayadayada...
     
    • Like Like x 1
  13. Blizzard

    Blizzard Clockwork Customer

    In your opinion is C# better than lua in general? I think it looks more enjoyable.
     
  14. RJ

    RJ no pay Legend Clockwork Customer

    Yeah I'd say it is better in this case.
     
  15. Actually, C# is harder than lua, But if can use C#, C# is better than lua. Because C# is supporting many function and Decisively C# is Object-Oriented Programming Language. (I can develop C# Programs, So this's empirical data.)

    Object-Oriented Programming is going to make easily management and can make easily extensions.
    If We make correct design framework. If everything is hardcoded, that's just trash code.
     
    • Like Like x 1
  16. duck

    duck Phant0m Legend

    I never said anything to indicate otherwise. That's exactly what I said in my first post in this thread. I don't really understand where you're coming from.
     
    • Like Like x 1
    Last edited: Sep 25, 2017

Previous Readers (Total: 0)