Update 26.05.20

Started by matt 17 posts 636 views

Reply on sbox.game
  1. #1
    matt Facepunch 2,045
    Update 26.05.20 : news/update-26-05-20
  2. #2
    Titanovsky 4,148
    Regarding Welcome Screen, it’s great that you added it. I think it would have been even better on April 28. And finally, you’ve started using clearer language to explain that this is a UGC platform, not the "spiritual successor to Garry’s Mod"

    Don't forget to update the description on the Steam page as well.
  3. #3
    zxcdulsed 1,445
    This is not roblox 2.0, its gmod 2  🙃 
  4. #4
    Dilly 7,894
    Sweet, very nice QOL features and the drop clarifications are nice!
  5. #5
    in her dms,blushing 7,178
    I like the new chatbox. Simple and clean.
  6. #6
    Zontax 8,662
    As always the updates are great
  7. #7
    Deotexh 55
    Hey! Had a coding question:

    In improved it's said:
    • Trace results no longer allocate arrays, reducing GC pressure — use `HasTag()` instead of the now-obsolete `.Tags` property

    What does "no longer allocate arrays" means?
    How does it help with GC?
    What does it have to do with having a function returning what you're looking for instead of a property? :)))

    Impatient to learn about it!!! ^^ 😊

  8. #8
    Domkri λ 2,440
    Thank you for learn tab! As person who isn't expert at programing I found it very frustrating and repulsive when I wanted to learn engine but could hardly find any proper learnning material expect documentation which only write what exist in engine but don't explain how to make things. 
  9. #9
    Zendetto 24,234
    Good update! 
  10. #10
    Berry 15,027
    Hell Yeah!
  11. #11
    G+ 3,100
    This all should've been added before release, better late than never!!

    awesome week update
  12. #12
    Salem 1,220
    nice. great update
  13. edited May 2026 #13
    The MAZZTer

    Deotexh posted:

    Hey! Had a coding question:

    In improved it's said:
    Trace results no longer allocate arrays, reducing GC pressure — use `HasTag()` instead of the now-obsolete `.Tags` property



    What does "no longer allocate arrays" means?
    How does it help with GC?
    What does it have to do with having a function returning what you're looking for instead of a property? :)))

    Impatient to learn about it!!! ^^ 😊

    It means they modifed the function so it no longer creates arrays. This means memory no longer has to be allocated for the arrays.

    Reducing allocations means first... well you're not allocating, so saved work there. Plus those allocations don't need to be cleaned up by the GC later, so saved work there too. With less allocations the GC needs to run less often. All of this can improve memory usage and performance (especially if you have a bunch of these improvements or you run the affected code frequently per frame).

    They were probably either unwilling to outright replace the code in Tags (maybe it behaves differently enough to not be 1:1 compatible) or they decided they wanted it to be a function after all (semantically, maybe it behaves like a function. For example properties may not be expected to do a lot of work or have side effects, whereas functions don't have this expectation). Either way, it wasn't possible to simply update Tags in-place. So they made a new function HasTags() which has the new desired behavior and is now a function. Tags is kept so old projects will still work, but it is given an ObsoleteAttribute so developers will see a warning identifying their usages of Tags and instructing them to  change it to HasTags().
  14. #14
    Drunk S&box Enthusiast 3,191
    Wow, you shown us the Chef Apron (cosmetic you killed in 2024).
  15. #15
    ico_wot

    Drunk S&box Enthusiast posted:

    Wow, you shown us the Chef Apron (cosmetic you killed in 2024).


    Can't you just buy the NFT?
  16. #16
    Laym 1,170
    Nice guys keep up the good work!
  17. #17
    Poncho 2,485
    Noice stuff