Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
should op be banned
yes
no
View Results
 
  • Locked thread
hackbunny
Jul 22, 2007

I haven't been on SA for years but the person who gave me my previous av as a joke felt guilty for doing so and decided to get me a non-shitty av
swift is sometimes better than C at doing C things. if only I could remember how to switch between UnsafeBufferPointer, UnsafeRawPointer, UnsafeRawBufferPointer, UnsafePointer etc.
(and a million other little annoying things)

Adbot
ADBOT LOVES YOU

Doc Block
Apr 15, 2003
Fun Shoe
Swift doesn't interop with C++, and for my next project (and probably many after) that automatically excludes it.

Workaday Wizard
Oct 23, 2009

by Pragmatica

Doc Block posted:

Swift doesn't interop with C++, and for my next project (and probably many after) that automatically excludes it.

is there any language that interops with c++??

Doc Block
Apr 15, 2003
Fun Shoe

Shinku ABOOKEN posted:

is there any language that interops with c++??

Objective-C does, when compiled as Objective-C++

Silver Alicorn
Mar 30, 2008

𝓪 𝓻𝓮𝓭 𝓹𝓪𝓷𝓭𝓪 𝓲𝓼 𝓪 𝓬𝓾𝓻𝓲𝓸𝓾𝓼 𝓼𝓸𝓻𝓽 𝓸𝓯 𝓬𝓻𝓮𝓪𝓽𝓾𝓻𝓮

Shinku ABOOKEN posted:

is there any language that interops with c++??

asm :twisted:

emoji
Jun 4, 2004
Objective C is good.

BONGHITZ
Jan 1, 1970

all programming languages are gay

Doc Block
Apr 15, 2003
Fun Shoe

emoji posted:

Objective C is good.

yep. my current idiot spare time game project would be 100% objective c except I used somebody else's physics engine (which is C).

next one is gonna be pc/mac/etc tho so it has to be c++ :( except the mac-specific platform support stuff.

maskenfreiheit
Dec 30, 2004
tesla should write everything in qbasic

DaTroof
Nov 16, 2000

CC LIMERICK CONTEST GRAND CHAMPION
There once was a poster named Troof
Who was getting quite long in the toof
swift > objective-c imo but ive never used them for anything but garbage ios apps so ymmv

akadajet
Sep 14, 2003

Doc Block posted:

Objective-C does, when compiled as Objective-C++

How could we make objective-c any worse? Oh! I Know!

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Doc Block posted:

Swift doesn't interop with C++, and for my next project (and probably many after) that automatically excludes it.

you should rewrite your c++ crap in rust, op

Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed
D has fairly complete support for C++, with the main quirk being that you have to explicitly instantiate any templates you want to be able to use from D

java's jni stuff all has full support for c++ but that doesn't really count since you're still writing a wrapper layer

qhat
Jul 6, 2015


rust owns because its original compiler was written in ocaml, and ocaml owns because the language itself prevents peasants from contributing to the source code

Doc Block
Apr 15, 2003
Fun Shoe

fart simpson posted:

you should rewrite your c++ crap in rust, op

why would i want to make a game in rust, jfc

akadajet
Sep 14, 2003

fart simpson posted:

you should rewrite your c++ crap in rust, op

javascript is better

Maximo Roboto
Feb 4, 2012

Doc Block posted:

Objective-C is objectively the best language for iOS and Mac dev right now.

that's all you had to say

Doc Block posted:

Swift will be tied soon.

it'd be funny if they get Kotlin Native up and running by the time Swift gets ABI compatibility

akadajet
Sep 14, 2003

Maximo Roboto posted:

it'd be funny if they get Kotlin Native up and running by the time Swift gets ABI compatibility

Kotlin lol. Does anyone outside of Jetbrains use that?

Maximo Roboto
Feb 4, 2012

akadajet posted:

Kotlin lol. Does anyone outside of Jetbrains use that?

It's going to get Android first class support, or has now

The Management
Jan 2, 2010

sup, bitch?

akadajet posted:

Kotlin lol. Does anyone outside of Jetbrains use that?

it's android's swift now.

akadajet
Sep 14, 2003

The Management posted:

it's android's swift now.

that's good for android. the further they get away from java the better.

Doc Block
Apr 15, 2003
Fun Shoe
surprised google didn't just try to embrace swift and then fork it, like they did with webkit. same for LLVM/clang

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Doc Block posted:

why would i want to make a game in rust, jfc

imagine the hn rank your subsequent blog post will get

The Management
Jan 2, 2010

sup, bitch?

akadajet posted:

that's good for android. the further they get away from java the better.

it's basically java with different syntax. it runs in the jvm, has the same memory and object model (it generates java classes). its for people who want to write java like it was a trendy new language.

akadajet
Sep 14, 2003

The Management posted:

it's basically java with different syntax. it runs in the jvm, has the same memory and object model (it generates java classes). its for people who want to write java like it was a trendy new language.

does androind use the jvm now? i thought they had their own snowflake bytecode and runtime

pram
Jun 10, 2001
it was called dalvik

The Management
Jan 2, 2010

sup, bitch?

akadajet posted:

does androind use the jvm now? i thought they had their own snowflake bytecode and runtime

no, still their own thing. kotlin runs on the same vm and it's interoperable with java.

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer

pram posted:

it was called dalvik

i thought that was deprecated in favor of art, which is a jit java runtime

pram
Jun 10, 2001
no dalvik was the 'snowflake' jit jvm. 'art' is native code

Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed

Maximo Roboto posted:

it'd be funny if they get Kotlin Native up and running by the time Swift gets ABI compatibility

kotlin looks nice if targeting java is a requirement but i don't really see any reason to use kotlin native other than for porting existing code

Significant Ant
Jun 14, 2017

by R. Guyovich

DuckConference posted:

yeah I've wondered if Tesla engineering is a tire fire but you don't hear much about that side of it

The older dudes are cool the younger ones are fuckfaces from Stanford

qirex
Feb 15, 2001

Significant Ant posted:

The older dudes are cool the younger ones are fuckfaces from Stanford

this is the whole valley fyi

Adbot
ADBOT LOVES YOU

akadajet
Sep 14, 2003

pram posted:

no dalvik was the 'snowflake' jit jvm. 'art' is native code

oh. still not going to buy an android

  • Locked thread