Metaprogramming

Template metaprogramming

Template metaprogramming (TMP) is a metaprogramming technique in which templates are used by a compiler to generate temporary source code, which is merged by the compiler with the rest of the source code and then compiled. The output of these templates can include compile-time constants, data structures, and complete functions. The use of templates can be thought of as compile-time polymorphism. The technique is used by a number of languages, the best-known being C++, but also Curl, D, Nim, and XL. Template metaprogramming was, in a sense, discovered accidentally. Some other languages support similar, if not more powerful, compile-time facilities (such as Lisp macros), but those are outside the scope of this article. (Wikipedia).

Video thumbnail

A shape shifting polyhedron

A 3D model that morphs between two shapes. Visit Maths-pro.com for more info on this model. You can get the nets and instructions form my website www.maths-pro.com, by going to "Polyhedra" then "polyhedra worksheets" then "Shape shifter". Visit my website www.maths-pro.com for hundreds of

From playlist Using the Maths-Pro geometry template and other geometry

Video thumbnail

Word 2010: Using Templates

In this video, you’ll learn more about using templates in Word 2010. Visit https://www.gcflearnfree.org/word2010/using-a-template/1/ for our text-based lesson. This video includes information on: • Creating a new document with a template • Entering information into a template • Changing p

From playlist Microsoft Word 2010

Video thumbnail

metauni-dev - URLs for boards

A short demo of getting a keycode for a board at metauni and using it to view the board in a web browser, and of using a URL for a board to jump into metauni at the exact location of a board. Music by Lucas Cantor.

From playlist Metauni

Video thumbnail

metauni-dev - The Look button

A typical metauni experience involves a series of boards, often with dense technical content. Having a convenient way of getting a fullscreen view of these boards is crucial. This video is a brief introduction to the feature. Music by Lucas Cantor.

From playlist Metauni

Video thumbnail

Category Theory 1.1: Motivation and Philosophy

Motivation and philosophy

From playlist Category Theory

Video thumbnail

An introduction to WebAssembly

Want to write a web application? Better get familiar with JavaScript. JavaScript has long been the king of front-end. While there have been various attempts to dethrone it, they have typically involved treating JavaScript as an assembly-language analog that you transpile your code to. This

From playlist WebAssembly

Video thumbnail

Code Writing Code, say what now! Meta Programming and PowerShell by Wesley Kirkland

Have you ever dreamed of writing a script so advanced it can make backups of itself, completely transform to its environment, or even code by itself in a different language? If so you've come to the right place, in this talk we will be discussing Meta Programming and how to do it with Powe

From playlist PowerShell + DevOps Global Summit 2018

Video thumbnail

MountainWest RubyConf 2008 - Code Generation: ....

Code Generation: The Safety Scissors of Metaprogramming by: Giles Bowkett

From playlist MountainWest RubyConf 2008

Video thumbnail

Excel 2010: Templates

In this video, you’ll learn more about using templates in Excel 2010. Visit https://www.gcflearnfree.org/excel2010/using-templates/1/ for our text-based lesson. This video includes information on: • Using templates We hope you enjoy!

From playlist Microsoft Excel 2010

Video thumbnail

RubyConf 2019 - Adopting Sorbet at Scale by Ufuk Kayserilioglu

RubyConf 2019 - Adopting Sorbet at Scale by Ufuk Kayserilioglu Shopify is a platform used by 800K merchants generating 12B$ revenue per year, serving 80K requests per second. Our core monolith is a 21K file Ruby on Rails application modified by 800 PRs per day. At this scale, we’re always

From playlist RubyConf 2019

Video thumbnail

Flask Web Development in Python 7 - Extends for templates

Flask Playlist: http://youtu.be/mr90d7fp3SE?list=PLQVvvaa0QuDcOS4l8RCWh0olq_je0OKaP In this Flask tutorial video, we cover the extending capability of Flask Templates. The idea of extending is to allow for custom templates "within" other templates. So, you will generally have something li

From playlist Flask web development with Python

Video thumbnail

ArrrrCamp 2013 - You gotta try this by Avdi Grimm

A talk about metaprogramming, coding for fun, and the joy of sharing. Help us caption & translate this video! http://amara.org/v/FG4G/

From playlist ArrrrCamp 2013

Video thumbnail

RubyConf 2016 - Seeing Metaprogramming and Lambda Function Patterns in Ruby by Lukas Nimmo

RubyConf 2016 - Seeing Metaprogramming and Lambda Function Patterns in Ruby by Lukas Nimmo Metaprogramming and lambda functions in Ruby should be explained within their rightful place: living examples. You may have read tutorials on what these concepts are, but still do not understand whe

From playlist RubyConf 2016

Video thumbnail

Template Method Design Pattern

Get the code here: http://goo.gl/B6rbz Welcome to my Template Method Design Pattern Tutorial. It is an extremely easy design pattern to understand and use. With this pattern, you define a method (algorithm) in an abstract class. It contains both abstract methods and non-abstract methods.

From playlist Java Video Tutorial

Video thumbnail

Word 2007: Working with Templates

In this video, you’ll learn more about working with templates in Word 2007. Visit https://www.gcflearnfree.org/word2007/using-a-template/1/ for our text-based lesson. This video includes information on: • Creating a new document with a template • Inserting templates and text into template

From playlist Microsoft Word 2007

Video thumbnail

NIPS 2011 Big Learning - Algorithms, Systems, & Tools Workshop: High-Performance Computing...

Big Learning Workshop: Algorithms, Systems, and Tools for Learning at Scale at NIPS 2011 Invited Talk: High-Performance Computing Needs Machine Learning...and Vice Versa by Nicolas Pinto Abstract: Large-scale parallelism is a common feature of many neuro-inspired algorithms. In this s

From playlist NIPS 2011 Big Learning: Algorithms, System & Tools Workshop

Video thumbnail

LoneStarRuby 2013 - Closing Keynote by Avdi Grimm

Help us caption & translate this video! http://amara.org/v/FG8H/

From playlist Lone Star Ruby Conf 2013

Video thumbnail

Elements of Programming

(November 3, 2010) Speakers Alexander Stepanov and Paul McJones give a presentation on the book titled "Elements of Programming". They explain why they wrote and attempt to explain their book. They describe programming as a mathematical discipline and that it is extremely useful and shoul

From playlist Engineering

Video thumbnail

Image Recognition and Python Part 1

Sample code for this series: http://pythonprogramming.net/image-recognition-python/ There are many applications for image recognition. One of the largest that people are most familiar with would be facial recognition, which is the art of matching faces in pictures to identities. Image rec

From playlist Image Recognition

Related pages

Expression templates | Iterator | Metaprogramming | Parametric polymorphism | Loop unrolling | Fizz buzz | Generic programming | Abstract syntax tree | Compile-time function execution | Nim (programming language) | Recursion (computer science)