What is the official status of 512 support?

How, what and why to code in BYOND.
Post Reply
User avatar
tacolizard
Joined: Wed Jul 06, 2016 11:39 pm
Byond Username: Tacolizard
Github Username: Tacolizard
Location: the endless void

What is the official status of 512 support?

Post by tacolizard » #391549

Are we allowed to use 512-exclusive features like the

Code: Select all

.?
operator or do we still need to maintain backwards compatibility?
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: What is the official status of 512 support?

Post by oranges » #392984

not yet, when it's more stable, we will switch to 512 compile time features being allowed.
User avatar
Dax Dupont
In-Game Admin
Joined: Sun Apr 20, 2014 9:07 pm
Byond Username: DaxYeen
Github Username: DaxDupont
Location: Belgium

Re: What is the official status of 512 support?

Post by Dax Dupont » #393110

What the fuck does .? anyways
SpaceManiac
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: What is the official status of 512 support?

Post by SpaceManiac » #393164

(a.?b) is roughly equivalent to (a && a.b), except `a` is only evaluated once (as though you stored it in a variable, if it was not already).
User avatar
Dax Dupont
In-Game Admin
Joined: Sun Apr 20, 2014 9:07 pm
Byond Username: DaxYeen
Github Username: DaxDupont
Location: Belgium

Re: What is the official status of 512 support?

Post by Dax Dupont » #393215

So it checks if say Weapon isn't null and weapon.force isn't either
?
User avatar
Supermichael777
Joined: Sun Feb 01, 2015 3:42 am
Byond Username: Supermichael777
Location: Silver II hell

Re: What is the official status of 512 support?

Post by Supermichael777 » #393438

Its ~slightly faster~.
oranges wrote:It's my game, not yours
Never forget the corruption of these halls

Image
You seem to be under the mistaken impression that I actually care.
Spoiler:
Image
Spoiler:
Omar Beail says, "You guys should fuck for my entertainment"
Classy, TG, Classy

OOC: KorPhaeron: Admins aren't allowed to have friends

OOC: Daman997: I HAVE POSTED VIDEOS OF A MAN FUCKING A SNAKE IN OOC GIVE ME THAT LINK PUSSY
An0n3 wrote:Take the same brand of retardation and invert it and you have people saying "It's okay for a game to cost more because I enjoyed it!
Spoiler:
Q: Why does everyone assume I’m a pervert just for wanting to play as a cat girl?
A: Because they’re degenerate cocksuckers who cannot fathom that another person might have pure intentions in wanting to play as the cat girl master race. Their wish fulfillment fetish-tier races like elves, aasimars, goliaths, and hobgoblins are perfectly fine in their mad, lust-filled minds, such that the purity and perfection of cat girls burns at their evil perverted hearts.

Q: Where are the cat boys?
A: I don’t follow.
User avatar
tacolizard
Joined: Wed Jul 06, 2016 11:39 pm
Byond Username: Tacolizard
Github Username: Tacolizard
Location: the endless void

Re: What is the official status of 512 support?

Post by tacolizard » #393679

it's also more elegant.

you can do

Code: Select all

var/foo = bar?.dank
which is useful if your code is designed to handle foo being null
SpaceManiac
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: What is the official status of 512 support?

Post by SpaceManiac » #396734

Looks like 512-only features will now be allowed going forward.
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: What is the official status of 512 support?

Post by MrStonedOne » #397578

Nope.

511 is still supported as long as the define in compile options is still 511 and not 512
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
Post Reply

Who is online

Users browsing this forum: No registered users