Programación de videojuegos retro con C y SDL. 1ª Parte: Introducción a C – HackLab Almería

DESCRIPCIÓN

If you get into serious programming, you will have to learn C, the core language of Unix. C++ is very closely related to C; if you know one, learning the other will not be difficult. Neither language is a good one to try learning as your first, however. And, actually, the more you can avoid programming in C the more productive you will be.

C is very efficient, and very sparing of your machine’s resources. Unfortunately, C gets that efficiency by requiring you to do a lot of low-level management of resources (like memory) by hand. All that low-level code is complex and bug-prone, and will soak up huge amounts of your time on debugging. With today’s machines as powerful as they are, this is usually a bad tradeoff — it’s smarter to use a language that uses the machine’s time less efficiently, but your time much more efficiently. Thus, Python.

– Eric Steven Raymond; How To Become A Hacker. Source: http://www.catb.org/~esr/faqs/hacker-howto.html

TraducciĂłn libre:

En cuĂĄnto te metes en programaciĂłn seria, necesitas C, el lenguaje de Unix. C++ es muy parecido a C, si conoces uno, aprender el otro es fĂĄcil. Ninguno de los dos es un buen lenguaje para aprender programaciĂłn. De hecho, cuĂĄnto mĂĄs puedas evitar C, mĂĄs productivo serĂĄs.

C es muy eficiente y permite exprimir al mĂĄximo los recursos de tu mĂĄquina. La pena es que C es tan eficiente a costa de que tu hagas una gestiĂłn manual de dichos recursos (ej. memoria). Todo ese cĂłdigo de bajo nivel es complejo y es fĂĄcil meter bugs, ademĂĄs te va a quitar una cantidad de tiempo enorme depurĂĄndolo. Con la potencia de computaciĂłn de hoy, casi siempre es un mal compromiso. Es mĂĄs inteligente usar un lenguaje que optimice tu tiempo a costa del tiempo de la mĂĄquina, por ejemplo, Python.

El objetivo del taller completo, que constarĂĄ de varias partes, es aprender a programar videojuegos retro para computadores con pocos recursos, cĂłmo Raspberry Pi. En esta primera parte, aprenderemos a usar el lenguaje C.


ÂżQue necesitas?

Para este taller, sĂłlo es necesario que traigas tu portĂĄtil.


DespuĂŠs del evento

Siguiendo la tradiciĂłn, despuĂŠs del evento nos iremos de tapas.

LOCALIZACIÓN

Lugar: Colegio Liceo Erasmus, Calle Adolfo Marsillach, 12, AlmerĂ­a.

Fecha: 16 de mayo del 2019

Hora: de 18:00 a 20:00


Este es un tema de discusión derivado de la entrada http://hacklabalmeria.net/actividades/2019/05/16/c-sdl-01-introc.html
2 Me gusta

Este tema se cerró automáticamente 30 días después del último post. No se permiten nuevas respuestas.