DON'T <HelloWorld /> WITHOUT IT.

# Static values used in the program.
.section .rodata
   hello:     .string "Hello World!!\n"  # Static, global, read-only string.
   lenHello:  .int 15                    # sizeof(hello)
# Program code
.section .text
.globl _start
.type _start, @function
_start:                  # Simple function to print 'Hello World!!' to the screen.
   movl  $hello, %esi    # Push our string address to first parameter.
   movl  lenHello, %edx  # Set the length of message to print.
   movl  $1, %eax        # __NR_write
   movl  $1, %edi        # stdout
   syscall               # Call the system to write to screen.
   movl  $60, %eax       # __NR_sysexit
   xorl  %edi, %edi      # Return code 0
   syscall               # Exit the program with success.
#include <stdio.h>

void hello(const char *name)
{
	printf("Hello %s!!\n", name);
}

int main(int argc, const char *const *argv)
{
	hello("World");

	return 0;
}
#include <string>
#include <iostream>

using namespace std;

void hello(const string &name)
{
	cout << "Hello " << name << "!!" << endl;
}

int main(int argc, const char *const *argv)
{
	hello("World");

	return 0;
}
package main

import (
	"fmt"
)

func helloWorld(name string) string {
	m := "Hello " + name
	return m
}

func main() {
	fmt.Println(helloWorld("World"))
}
import java.util.function.Consumer;

public class HelloWorld {

    public static void main(String[] args){
        final Consumer<String> hello = name -> System.out.println("Hello " + name + "!!");
        hello.accept("World");
    }
}
const Hello = ({ name, ...rest }) => (
  <div {...rest}>
    {`Hello ${name}`}
  </div>
);

const HelloWorld = props => <Hello {...props} name="World" />;

const App = () => <HelloWorld />;

ReactDOM.render(<App />, document.getElementById('main'));
fun main(args: Array<String>) = println("Hello ${args[0]}")
''' Hello World '''

def hello_world(name):
    ''' Return string of Hello + name '''
    msg = "Hello {0}!".format(name)
    return msg

if __name__ == '__main__':
    print hello_world("World")
fn main() {
    hello_world("World")
}

fn hello_world(name: &str) -> () {
   println!("Hello {}!!", name)
}
import Foundation

func hello(_ name: String) -> String {
  let m = "Hello \(name)!"
  return m
}

print(hello("World"))

FEATURED REPOS

iguazu

An asynchronous data flow solution for React/Redux applications.

nodes

GraphQL for the JVM: An Introduction to Nodes.

FEATURED ARTICLES

A deep-dive on use-site targets in Kotlin.

A look into how American Express decided to use Go for some of its most critical applications.

A deep-dive on delegates in Kotlin.

Learn how to super-charge your Couchbase queries with native FTS.

React Hooks are live in production. Learn what you need to know to get started using and testing them today.

Git bisect is an easy way to perform a binary search over the commits in your project to figure out exactly when something broke.

A little time now can save a lot down the road.

Learn how the new JavaScript rest and spread syntax can simplify your code and reduce visual clutter.