SERVING THE QUANTITATIVE FINANCE COMMUNITY

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 9
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Hello World in all Languages, post here

February 16th, 2012, 2:50 pm

QuoteOriginally posted by: rmaxQuoteOriginally posted by: DevonFangsQuoteOriginally posted by: rmaxNot hello world, but the 12 days of Christmas...Nice!Are you the author? The name shows.I am not that clever! I included the name to show the correct attribution to the author.And yet it won't compile
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Hello World in all Languages, post here

February 16th, 2012, 2:57 pm

QuoteOriginally posted by: CuchulainnQuote/*LEAST LIKELY TO COMPILE SUCCESSFULLY: Ian Phillipps, Cambridge Consultants Ltd., Cambridge, England*/CCC, get it?Triple C Systems?No, I don't get it.
 
User avatar
rmax
Posts: 6080
Joined: December 8th, 2005, 9:31 am

Hello World in all Languages, post here

February 16th, 2012, 3:27 pm

 
User avatar
Cuchulainn
Topic Author
Posts: 63236
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Hello World in all Languages, post here

February 16th, 2012, 4:14 pm

QuoteOriginally posted by: DevonFangsQuoteOriginally posted by: CuchulainnQuote/*LEAST LIKELY TO COMPILE SUCCESSFULLY: Ian Phillipps, Cambridge Consultants Ltd., Cambridge, England*/CCC, get it?Triple C Systems?No, I don't get it.Which 'C' is not clear?
Step over the gap, not into it. Watch the space between platform and train.
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Hello World in all Languages, post here

February 16th, 2012, 4:16 pm

QuoteOriginally posted by: CuchulainnQuoteOriginally posted by: DevonFangsQuoteOriginally posted by: CuchulainnQuote/*LEAST LIKELY TO COMPILE SUCCESSFULLY: Ian Phillipps, Cambridge Consultants Ltd., Cambridge, England*/CCC, get it?Triple C Systems?No, I don't get it.Which 'C' is not clear?None, it's just: was I supposed to know the place?
 
User avatar
caxwl
Posts: 6
Joined: February 8th, 2012, 2:27 pm

Hello World in all Languages, post here

February 22nd, 2012, 10:49 am

The Infamous Hello World in SPL.Romeo, a young man with a remarkable patience.Juliet, a likewise young woman of remarkable grace.Ophelia, a remarkable woman much in dispute with Hamlet.Hamlet, the flatterer of Andersen Insulting A/S. Act I: Hamlet's insults and flattery. Scene I: The insulting of Romeo.[Enter Hamlet and Romeo]Hamlet: You lying stupid fatherless big smelly half-witted coward! You are as stupid as the difference between a handsome rich brave hero and thyself! Speak your mind! You are as brave as the sum of your fat little stuffed misused dusty old rotten codpiece and a beautiful fair warm peaceful sunny summer's day. You are as healthy as the difference between the sum of the sweetest reddest rose and my father and yourself! Speak your mind! You are as cowardly as the sum of yourself and the difference between a big mighty proud kingdom and a horse. Speak your mind. Speak your mind![Exit Romeo] Scene II: The praising of Juliet.[Enter Juliet]Hamlet: Thou art as sweet as the sum of the sum of Romeo and his horse and his black cat! Speak thy mind![Exit Juliet] Scene III: The praising of Ophelia.[Enter Ophelia]Hamlet: Thou art as lovely as the product of a large rural town and my amazing bottomless embroidered purse. Speak thy mind! Thou art as loving as the product of the bluest clearest sweetest sky and the sum of a squirrel and a white horse. Thou art as beautiful as the difference between Juliet and thyself. Speak thy mind![Exeunt Ophelia and Hamlet] Act II: Behind Hamlet's back. Scene I: Romeo and Juliet's conversation.[Enter Romeo and Juliet]Romeo: Speak your mind. You are as worried as the sum of yourself and the difference between my small smooth hamster and my nose. Speak your mind!Juliet: Speak YOUR mind! You are as bad as Hamlet! You are as small as the difference between the square of the difference between my little pony and your big hairy hound and the cube of your sorry little codpiece. Speak your mind![Exit Romeo] Scene II: Juliet and Ophelia's conversation.[Enter Ophelia]Juliet: Thou art as good as the quotient between Romeo and the sum of a small furry animal and a leech. Speak your mind!Ophelia: Thou art as disgusting as the quotient between Romeo and twice the difference between a mistletoe and an oozing infected blister! Speak your mind![Exeunt]
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Hello World in all Languages, post here

March 7th, 2012, 12:11 pm

%!PS/Courier20 selectfont 72 500 moveto(Hello world!) showshowpage
 
User avatar
tagoma
Posts: 18382
Joined: February 21st, 2010, 12:58 pm

Re: Hello World in all Languages, post here

March 7th, 2018, 3:01 pm

EXECUTE sp_execute_external_script
	@language=N'R',
	@script = N'print("Hello World!")'
GO
R from within SSMS
 
User avatar
Cuchulainn
Topic Author
Posts: 63236
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

March 7th, 2018, 4:35 pm

Rust

fn main() 
{
  
   
    println!("Hello, world!")
}
Last edited by Cuchulainn on March 8th, 2018, 11:08 am, edited 1 time in total.
Step over the gap, not into it. Watch the space between platform and train.
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
Alan
Posts: 10375
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

Re: Hello World in all Languages, post here

March 7th, 2018, 6:06 pm

Here is a self-loading one-card 1401 program which will print HELLO WORLD, eject the page in the printer, and halt.

,008015,022029,036043,050054,055062,063065,069080/333/M0792502F1.065HELLO WORLD
(according to here)
 
User avatar
Traden4Alpha
Posts: 23951
Joined: September 20th, 2002, 8:30 pm

Re: Hello World in all Languages, post here

March 7th, 2018, 7:24 pm

This is about as close one can get on the HP-25:
00
73
07
07
03
04
14 74
13 01
When run, it flashes 0.7734 about once a second.

Held upside down it's flashing "hELLO"
 
User avatar
Cuchulainn
Topic Author
Posts: 63236
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

March 24th, 2018, 7:34 pm

with Ada.Text_IO;

procedure Hello is
begin
  Ada.Text_IO.Put_Line("Hello, world!");
end Hello;
Step over the gap, not into it. Watch the space between platform and train.
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
ExSan
Posts: 4591
Joined: April 12th, 2003, 10:40 am

Re: Hello World in all Languages, post here

March 28th, 2018, 8:24 pm

Castellano:
"Hola Mundo"
 
User avatar
Cuchulainn
Topic Author
Posts: 63236
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

April 21st, 2018, 7:55 pm

Guess
(*
   Hello World Example

   
*)

// Print hello world.
printfn "Hello World"

Step over the gap, not into it. Watch the space between platform and train.
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
ppauper
Posts: 70239
Joined: November 15th, 2001, 1:29 pm

Re: Hello World in all Languages, post here

April 22nd, 2018, 6:53 am

Guess
(*
   Hello World Example

   
*)

// Print hello world.
printfn "Hello World"

F#
ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


Twitter LinkedIn Instagram

JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...


GZIP: On