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.
 
  • Post
  • Reply
Max Facetime
Apr 18, 2009

checker framework trip-report:

installed fine in eclipse but it's got a lot of issues, 2 big ones are that it's trying to retain compatibility with java6 while tracking changes in java8 so lots of small things are broken and it doesn't integrate into eclipse's awesome incremental compiler so you have to run it manually and it's slow as poo poo, taking like several seconds to complete

but the nullness checker looks really nice, giving warnings like

Java code:
    String uniform_type = UniformTypes.get(uniform_name);

    //switching on a possibly-null value (uniform_type) switch(uniform_type) {
    switch(uniform_type) {
    case "vec3": {
      Vector3f value2 = (Vector3f) value;
      //incompatible types in assignment. int location = UniformLocations.get(uniform_name); 
      //found : @Nullable Integer required: int
      int location = UniformLocations.get(uniform_name);
      glUniform3f(location, value2.x, value2.y, value2.z);
    }
and immutability checker looks nice too, but seems to require having annotations for all libraries before it becomes actually usable

Adbot
ADBOT LOVES YOU

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.

gucci void main posted:

lol

haskell seems cool so far even if i've only done a couple chapters of LYAH, it really is a lot different though

all languages are cool because if it weren't for them you'd be working in a god drat mine

trex eaterofcadrs
Jun 17, 2005
My lack of understanding is only exceeded by my lack of concern.
also stop being a language whore and pick one and get good at it, it won't take you only a week unless you're some kind of idiot savant

double sulk
Jul 2, 2010

all languages need love, except for php

double sulk
Jul 2, 2010

and js

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
cool i'll let frank cobol know

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



trex eaterofcadrs posted:

also stop being a language whore and pick one and get good at it, it won't take you only a week unless you're some kind of idiot savant

what if im just an idiot :nyoron:

tef
May 30, 2004

-> some l-system crap ->
post post post

Posting Principle
Dec 10, 2011

by Ralp

tef posted:

post post post

:justpost:

Opinion Haver
Apr 9, 2007

never stop posting...

HORATIO HORNBLOWER
Sep 21, 2002

no ambition,
no talent,
no chance
This thread gave me some great ideas about how to rethink our web services interface and I can't wait to try them out on Monday

Damiya
Jul 3, 2012

HORATIO HORNBLOWER posted:

This thread gave me some great ideas about how to rethink our web services interface and I can't wait to try them out on Monday

Rewrite it in php with Web sockets?

Posting Principle
Dec 10, 2011

by Ralp
erlang status:

Damiya
Jul 3, 2012

Jerry SanDisky posted:

erlang status:

that looks painful you should dab a little haskell on it to make it better

double sulk
Jul 2, 2010

Jerry SanDisky posted:

erlang status:

lol

Posting Principle
Dec 10, 2011

by Ralp

Damiya posted:

that looks painful you should dab a little haskell on it to make it better

i'm a big man and i need a biiiiiig binary :clint:

Notorious b.s.d.
Jan 25, 2003

by Reene

Suspicious Dish posted:

it's not that hard. libffi closures handle it for you automatically. just use ffi_prep_cif

nope

what i am talking about is writing c-compatible libraries. i can't write code in rust, install it at "libSuspiciousDish.so.3", and call it from vanilla c just by including headers

the talent deficit
Dec 20, 2003

self-deprecation is a very british trait, and problems can arise when the british attempt to do so with a foreign culture





Notorious b.s.d. posted:

nope

what i am talking about is writing c-compatible libraries. i can't write code in rust, install it at "libSuspiciousDish.so.3", and call it from vanilla c just by including headers

rust is still in early development but this is a stated design goal. it's already binary compatible with C. the runtime needs to be rewritten in rust to make what you want possible but that will happen once the language is more stable

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Notorious b.s.d. posted:

neither rust nor golang can be used to create c libraries, ergo neither one will ever be a serious contender as a systems programming language

it's ok not to be useful for systems programming, but you gotta bring something else to the table. scripting languages brought, well, scripting -- no compile step, trivial/stupid deployment. java and .net brought huge, useful libraries and powerful type safety.

what the gently caress do rust and golang bring?

watch your language on this board

Luigi Thirty
Apr 30, 2006

Emergency confection port.

turns out windows forms and c# are easy who knew

X-BUM-RAIDER-X
May 7, 2008

vapid cutlery posted:

watch your language on this board

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug
lotta Haskell chat making me feel like I stumbled into hacker news 2011

Posting Principle
Dec 10, 2011

by Ralp

Luigi Thirty posted:

turns out windows forms and c# are easy who knew

use wpf

Shaggar
Apr 26, 2006

Malcolm XML
Aug 8, 2009

I always knew it would end like this.

Cocoa Crispies posted:

lotta Haskell chat making me feel like I stumbled into hacker news 2011

You gotta like a language that saw another (erlang) and said "how can we do this better?" Then implemented it as a library (:yayclod: Haskell )

Opinion Haver
Apr 9, 2007

what's the quote in the title of this thread from anyway

Posting Principle
Dec 10, 2011

by Ralp
everytime i get distracted and want to learn haskell i just remind myself that "hello world" takes an entire mb

code:
me@laptop:~$ cat lol.hs
module Main where
main = putStrLn "Hello, World"
me@laptop:~$ ghc lol.hs
[1 of 1] Compiling Main             ( lol.hs, lol.o )
Linking lol ...
me@laptop:~$ ls -l | grep lol
-rwxrwxr-x  1 me me    1050868 Dec 30 13:29 lol
how much poo poo gets stuffed into that loving binary

hobbesmaster
Jan 28, 2008

Luigi Thirty posted:

turns out windows forms and c# are easy who knew

Qt is even easier and it looks the same on all linuxes

Catalyst-proof
May 11, 2011

better waste some time with you

Jerry SanDisky posted:

everytime i get distracted and want to learn haskell i just remind myself that "hello world" takes an entire mb

code:
me@laptop:~$ cat lol.hs
module Main where
main = putStrLn "Hello, World"
me@laptop:~$ ghc lol.hs
[1 of 1] Compiling Main             ( lol.hs, lol.o )
Linking lol ...
me@laptop:~$ ls -l | grep lol
-rwxrwxr-x  1 me me    1050868 Dec 30 13:29 lol
how much poo poo gets stuffed into that loving binary

if you went and actually understood why that was happening it would be a better learning experience than firing up haskell, making a hello world program, and then staring aghast in horror at the file size every six months

Posting Principle
Dec 10, 2011

by Ralp
then what would i post about

Opinion Haver
Apr 9, 2007

let's be honest who has disk space for an entire megabyte

e: if you use -dynamic it gives you the shared runtime/base libraries and it's only 16K so i don't even get what your point is

Opinion Haver fucked around with this message at 19:48 on Dec 30, 2012

prefect
Sep 11, 2001

No one, Woodhouse.
No one.




Dead Man’s Band

WHOIS John Galt posted:

if you went and actually understood why that was happening it would be a better learning experience than firing up haskell, making a hello world program, and then staring aghast in horror at the file size every six months

I'm waiting for the thread to explain it to me. :allears:



VVVV That was much less satisfying than I'd been hoping. :saddowns:

prefect fucked around with this message at 20:03 on Dec 30, 2012

Posting Principle
Dec 10, 2011

by Ralp

prefect posted:

I'm waiting for the thread to explain it to me. :allears:

It statically links all the haskell libraries, but I guess there is now an option to dynamically link, so my haskell beef is pointless and out of date :sweatdrop:

Luigi Thirty
Apr 30, 2006

Emergency confection port.

I know nothing about windows ui development am I being shaggared or do I actually use wpf idk

double sulk
Jul 2, 2010

tbc's ultimate fantasy has come true

https://github.com/ircmaxell/PHPPHP

0xB16B00B5
Aug 24, 2006

by Y Kant Ozma Post
its home pages all the way down

Max Facetime
Apr 18, 2009

yaoi prophet posted:

what's the quote in the title of this thread from anyway

it's 100% original content just for this thread

jony neuemonic
Nov 13, 2009

quote:

You can run the implementation from the command line using the php.php file.
code:
php php.php -r "var_dump('foo');"
Or with a file:
code:
php php.php ../test.php

:stare:

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
the phrase "php" has lost all meaning to me now...

Adbot
ADBOT LOVES YOU

Posting Principle
Dec 10, 2011

by Ralp

Luigi Thirty posted:

I know nothing about windows ui development am I being shaggared or do I actually use wpf idk

wpf is really nice unironically

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply