osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OT: This Swift thing


Le jeudi 5 juin 2014 10:14:15 UTC+2, Alain Ketterlin a ?crit?:
> Sturla Molden <sturla.molden at gmail.com> writes:
> 
> 
> 
> > Dear Apple,
> 
> >
> 
> > Why should I be exited about an illegitmate child of Python, Go and
> 
> > JavaScript?
> 
> [...]
> 
> 
> 
> Type safety. (And with it comes better performance ---read battery
> 
> life--- and better static analysis tools, etc.) LLVM (an Apple-managed
> 
> project) for the middle- and back-end, and a brand new front-end
> 
> incorporating a decent type system (including optional types for
> 
> instance).
> 
> 
> 
> Swift's memory management is similar to python's (ref. counting). Which
> 
> makes me think that a subset of python with the same type safety would
> 
> be an instant success.
> 
> 

About type. A very quick look at the doc and at what is
interesting me.

"A string [type] is an ordered collection of characters [type], such..."

[]: my addendum

It seems they are understanding unicode (zeroth order approximation).

jmf