Better HN
topnewbestaskshowjobs
Log inSign up

paxcoder

411 karma · joined Sep 29, 2011 (15y ago) · 459 submissions

I remain banned for not giving up discussing religion. Your ability to judge some of my contributions may be hindered, depending on your "showdead" setting. Beware of this unspoken policy if you're weighing contributing to this site.
Submissions

comment 9y ago · link · parent

The popularity of dynamic typing, I think, was at its peak around 2010, mostly due to the purported rediscovery of the "good parts" of the only client-side language for the web, the unprecedented acceptance of Python by academia, and the popularity of Ruby on r..the web (but PHP as well). Around the time that asm.js started being discussed, however, the trend was reversed: Though it may have made the benefits of static typing obvious, need for speed wasn't what replaced the likes of CoffeeScript with the likes of TypeScript. As web applications became more complex, the old Large Systems called for safety guarantees. Industrial languages never even considered losing their types, while improving considerably by adopting functional concepts. Nowadays I see no notable arguments for dynamically typed programming languages. With the exception Fowler's 2005 testing argument being reiterated, static typing is no longer being challenged. The new kids: Go, Rust, Swift - they all indicate that the errors will not be left to the runtime (or the unit test). It seems to me that the advocacy has been reduced to voicing personal preferences. I may still provoke the bold claim of there being "severe failure of static typing", but without any arguments, the default today is going to be to discount the claim, on account of the probability that it has merits that outweigh type safety alone.

I have only used a JS live environment (the browser console) but I hope you have in mind something that my static language's debugger cannot do. I assume the next two languages are about reflection - I've done some. Finally, I'm unfamiliar with the Erlang's static analysis tool and I don't know Racket's contracts, but I'd like you to tell me how they differ and why you think they're better than my own.

comment 9y ago · link · parent

That's what I thought too, that's I say the word is missing.

comment 9y ago · link · parent

Not quite, I think the title should contain the word "machine".

comment 9y ago · link · parent

Ah, Parrot VM. Brings flashbacks of the dynamic typing bubble.

No offense unitypers, maybe your typing systems have valid use-cases, I'm not sure. I'd like you to convince me if possible.

EDIT: Using slightly less off-putting language. I truly welcome arguments, even sound opinions.

comment 9y ago · link · parent

I'm sorry if I prematurely judged your effort, but you shouldn't expect people to read between the lines in a wall of text

comment 9y ago · link · parent

Google should have innovated or they should have complied. Instead they built on POSIX's shoulders and then diverged only enough to harm portability. Not cool.

comment 9y ago · link · parent

The one guarded by lizard people?

comment 9y ago · link · parent

I'm pro-hypertext, but this looks like web tech for web tech's sake. Their demo is literally an animated cursor.

See TermKit for some more tought put into a graphically-enabled terminal: https://github.com/unconed/TermKit

comment 9y ago · link · parent

Maybe war on drugs opponents downvoted what they interpreted as sarcasm

comment 9y ago · link · parent

Good question.

For networking, Kitura uses Kitura-net, which uses BlueSocket, which in turn uses C library's sockets[1]. On GNU/Linux, this is the GNU C Library, for which a package (Glibc) is provided by the Swift port[2].

For asynchrony they seem to be using libdispatch despite it being "early in the development"[3], but I've also noticed they're wrapping epoll and curl (see 1.B again), so it's hard to gauge the real extent of the hack.

[1]: https://github.com/IBM-Swift/Kitura/blob/master/Package.swif...

https://github.com/IBM-Swift/Kitura-net/blob/master/Package....

https://github.com/IBM-Swift/BlueSocket/blob/master/Sources/...

[2] https://swift.org/blog/swift-linux-port/

[3] https://github.com/apple/swift-corelibs-libdispatch

comment 9y ago · link · parent

No networking OR file system access in the free implementation.

You'd be hard pressed to find a Swift project that doesn't depend on Apple's proprietary Foundation because Swift needs it to talk to the world!

I don't understand what IBM is thinking.

comment 9y ago · link · parent

They should finish the free Foundation implementation[1] already which is the true standard library. Swift is not very useful without it, and they're talking about 4.0. It seems like Apple's giving their minimum to the community

https://github.com/apple/swift-corelibs-foundation/blob/mast...

comment 9y ago · link · parent

The issue is having to go through that other language. So your problem is JavaScript's monopoly, right?

comment 9y ago · link · parent

I'd like to bring up another thing for which this is relevant: https://github.com/golang/go/wiki/Mobile

Here's hoping for cross-platform development without JavaScript.

comment 9y ago · link · parent

Under drinkjuice's reply to akmittal yes, that's the one comment I'm referring to. But one does not "so much" make.

comment 9y ago · link · parent

One hour after you've posted this comment, I went through every single comment in the thread and found 1 (one) negative comment about Opera. Considering that, wouldn't you say it's fair to say that your comment is bait?

comment 9y ago · link · parent

Nobody showed an interest, but I've found an article which covers all of what I wanted to cover and since it costs me very little to post it, here's the link: http://www.hanselman.com/blog/WhatNETDevelopersOughtToKnowTo...

comment 9y ago · link · parent

The first problem is that .NET Standard is not a specification in a traditional sense: "The official spec is a set of .cs files that define the APIs that are part of the standard." [0]

If you're new to the .NET ecosystem and you try to dig deeper, you find yourself having to understand more and more things: .NET Core, project.json (dependencies, frameworks, imports), vNext, portable class library, PCL profiles, CLI implementations etc, all the while battling misinformation, confusion and terrible proprietary tools, should you chose (or be forced to!) use them.

It took me about two weeks to finally wrap my head around the ecosystem in an effort to build a ".NET Standard library"(not a standard library) with a few dependencies and use it in a non-trivial Xamarin project. Let me know if you'd like me to share.

[0] https://docs.microsoft.com/en-us/dotnet/articles/standard/li...

comment 9y ago · link · parent

s/ sounds so seriously standardy: https://xkcd.com/927/

comment 9y ago · link · parent

Why wasn't Talos on the front page? Were you too busy seeing what's new in the world of locked-down gadgets, HN?

comment 9y ago · link · parent

Unfortunately __typeof__ is non-standard. Despite its usefulness it always gets left out of the standard (and with weird excuses, I think last time it was lack of implementations - despite the fact that eg. both GCC and LLVM implement it).

Interestingly, C11 defines _Generic selection, a kind of a switch for types, but its usefulness is hindered by the fact that it cannot be used in conjunction with sizeof.

comment 9y ago · link · parent

With that description, I hope street cred

comment 9y ago · link · parent

That seems like a stretch to me, maybe expound on what you implied by "more".

comment 9y ago · link · parent

You're not telling me what is against the rules. What rules am I breaking by continuing to talk with you that you're not?

comment 9y ago · link · parent

Why do you think I should not "do this" on HN?

comment 9y ago · link · parent

I was meaning to ask you about that "here" from your original context. Because I suspect your "somewhere else" to be out of sight and out of mind.

comment 9y ago · link · parent

What does that mean? Surely that is not the site owner's history?

comment 9y ago · link · parent

I disagree that my comment was uncivil and without substance. My question is honest. My provocation is meant for the soul. I am sorry for not being kind.
1
8910
16