Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

LUA is FFOC

Name: Anonymous 2011-02-05 9:01

LUA is the toy language for those who enjoy the Forced Flushing Of L1/L2 Cache per operation. In fact, every operation causes several L2 cache misses during table look-ups, flushing both the L1 and L2 caches.

http://www.slideshare.net/hughreynolds/optimizing-lua-for-consoles-allen-murphy-microsoft

Enjoy your FFOC.

Name: Anonymous 2011-02-07 9:27

LISP:

clockwise[x@xs]->[@x@xs.transpose.rev.clockwise]

Haskell:

clockwise (x:xs) = x ++ (clockwise . reverse . transpose) xs
clockwise _ = []

Name: Anonymous 2011-02-07 9:27

>>39
So, you cant? Q.E.D.

sub faggot (@xs) { drop_while(@xs, { not userfriendly($^a) }) } # it assumes the existence of drop_while. Its implementation would be trivial anyway.

Name: Anonymous 2011-02-07 9:30

Lisp:

map ?*3 [1..3]


Perl 6:

<1 2 3>.map(-> $x {$x * 3})
3 6 9

Name: Anonymous 2011-02-07 9:31

>>42
No pattern matching. Q.E.D.

Name: Anonymous 2011-02-07 9:32

>>43
[1..3].map: * *3
3 6 9

Name: Anonymous 2011-02-07 9:32

>>43
Lisp:

3*[1..3]


Perl 6:

<1 2 3>.map(-> $x {$x * 3})

Name: Anonymous 2011-02-07 9:33

>>45
Bloated syntax is bloated.

Name: Anonymous 2011-02-07 9:33

I like Lisp but why does every thread nowadays transform into a Lisp thread after 30 posts?

Name: Anonymous 2011-02-07 9:35

>>44
multi sub faggot ($n) { "oh god how did i get here im not good with computers"}
faggot
multi sub faggot ("HAX MY") { "ANUS!" }
faggot
multi sub faggot ("I'm >>44 and love cocks") { "You are!" }
faggot
faggot("I'm >>44 and love cocks")
You are!
faggot("HAX MY")
ANUS!
faggot("sjdjksda")
oh god how did i get here im not good with computers

Name: Anonymous 2011-02-07 9:35

>>48
Because:
Lua's creators also state that Lisp and Scheme with their single, ubiquitous data structure mechanism (the list) were a major influence on their decision to develop the table as the primary data structure of Lua.

Name: Anonymous 2011-02-07 9:35

>>48
It's because they're getting desperate for recognition.

Name: Anonymous 2011-02-07 9:38

>>46

3*[1..3]
multi infix:<*>(Int $n, @a) { @a.map: * *$n }
infix:<*>
3*[1..3]
3 6 9


Your DSL is VALID PERL CODE

Name: Anonymous 2011-02-07 9:39

>>49

faggot _ -> "oh god how did i get here im not good with computers"
1.faggot "HAX MY" -> "ANUS!"
2.faggot "I'm >>49 and love cocks" -> "You are!"

code less, create more

Name: Anonymous 2011-02-07 9:39

>>53
You can do that with a macro.

Name: Anonymous 2011-02-07 9:41

Name: Anonymous 2011-02-07 9:41

Name: Anonymous 2011-02-07 9:41

>>54
Any sufficiently complicated Perl or Python program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of LISP.

Name: Anonymous 2011-02-07 9:42

Name: Anonymous 2011-02-07 9:43

>>57
The ``in Lisp'' DSL contains an ad hoc, informally-specified, bug-ridden, slow and unnecessary implementation of half of Perl 6, Haskell and ML on top of the already perfect LISP.

Name: Anonymous 2011-02-07 9:43

Name: Doctor Racket !RACKET/.HY 2011-02-07 9:46

In this thread: children.
I'm ashamed of myself to read these childish things.

Name: Anonymous 2011-02-07 9:51

Name: Anonymous 2011-02-07 9:53

>>>/g/

saged and reported for off topic

Name: Anonymous 2011-02-07 9:53

>>62
Yes.

Name: Anonymous 2011-02-07 9:57

Name: Anonymous 2011-02-07 10:00

Name: Anonymous 2011-02-07 10:02

>>66
Do it.

Name: Anonymous 2011-02-07 10:04

>>67
I would, but 0]=> perl6
macro
Macros are not yet implemented at line 1, near "\n"

Name: Anonymous 2011-02-07 10:14

Doesn't Lua's JIT assume that the mostly-read tables (such as _G) remain read-only until the JIT is explicitly told they have been modified (via a `check your damn assumptions' flag)? I don't feel like reading its sauce right nao, but I would guess its author would have been smart enough not to execute an entire damn hash table lookup at almost every VM cycle.

Name: Anonymous 2011-02-07 10:20

>>59
((((perfect ((((((LISP))))))))))

Name: Anonymous 2011-02-07 10:22

>>70
Invalid Lisp code.

Name: Anonymous 2011-02-07 10:27

>>69
Consoles forbid code-as-data, because this would allows to leave a backdoor for hackers. I heard Micro$ucks and Intel promise forbidding executing unsigned code even on PC platform, so to write code you will have to buy a developer's license from Intel.

Name: Anonymous 2011-02-07 10:29

>>72
Lost freedom - this is what you get for stealing jewish money by pirating movies, music and games.

Name: Anonymous 2011-02-07 10:32

>>72
Oh, yes. I hope Intel does it, so nobody will ever use again their shitty architecture and finally pass to something more sane.

Name: Anonymous 2011-02-07 10:36

>>72
You're not even responding to >>69. Also, incredibly weak troll.
-1/10

Name: Anonymous 2011-02-07 10:41

>>74
Sony does this with PS3 and nobody complains. Casual users wouldnt care, if you cant run LISP on your PC anymore.

Name: Anonymous 2011-02-07 10:48

wouldnt care, if you cant run LISP
I refuse to bitch tits.

Name: Anonymous 2011-02-07 10:50

>>77
wouldnt care, if you couldnt run LISP

Name: Anonymous 2011-02-07 10:53

>>76
``Aye cant run my krakkid myspacetunesbook 12.3 :((( y????''
``ur patch 2 pirate nfs mmfsq dusent run animore D= y???''
``my computar is broken it dont go well on nero 12 burning rom anymore >.>''
``hi i want 2 become an hax0r how do i compile my codes thx everybody''
``hi i tried to compile my c code liek in random tutorial but it doesnt run it sais itz not signed what does iet mean how do i signed it? heres the code goto-filled simple C commandline calculator that can do one operation at time plz halp?????''

Name: Anonymous 2011-02-07 10:53

>>78
wouldnt care, if you couldnt runt LISP

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List