$30 off During Our Annual Pro Sale. View Details »

Swift en Linux

Swift en Linux

Charla que dio Andrea Soria para el grupo Swift Cochabamba

Avatar for Jose Alfredo Arias S.

Jose Alfredo Arias S.

June 12, 2016
Tweet

More Decks by Jose Alfredo Arias S.

Other Decks in Technology

Transcript

  1. Clang ¿Por qué? • Clang es en reemplazo a gcc

    • GCC es un compilador integrado del proyecto GNU para C, C++, Objective C y Fortran; es capaz de recibir un programa fuente en cualquiera de estos lenguajes y generar un programa ejecutable binario en el lenguaje de la máquina donde ha de correr. • Clang involucra a google y Apple • Clang es más rápido y usa menos memoria que GCC
  2. Libicu-dev ¿Por qué? • C/C++ and Java libraries providing Unicode

    and Globalization support for software applications • Unicode text handling, full character properties, and character set conversions; Unicode regular expressions; full Unicode sets; character, word, and line boundaries; Language sensitive collation and searching; normalization, upper and lowercase conversion, and script transliterations; comprehensive locale data and resource bundle architecture via the Common Locale Data Repository (CLDR); complex text layout for Arabic, Hebrew, Indic, and Thai; multi- calendar and time zones; and rule-based formatting and parsing of dates, times, numbers, currencies, and messages.
  3. Instalar Swift Configurar • Ir a carpeta de descargas •

    tar xzf swift-2.2.1- RELEASE.tar.gz • pwd de directorio • cd ~/ • nano .profile
  4. Instalar Swift Configurar • Agregar a última línea: • export

    PATH=pwd:$PATH • Guardar archivo • swift • Cerrar sesion y volver a entrar •
  5. Usar swift • print(“hola Swifteros”) • :q • Crear archivos

    con extensión .swift • swift ‘archivo.swift’ •