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

Pages: 1-4041-8081-120121-

__volatile__ __asm__

Name: Anonymous 2011-12-06 21:57

volatile is a C keyword, and programmers know better than using asm as an identifier. Why do people insist on using double underscores around them, especially Linux kernel developers?

Also, why do people use things like __attribute__((aligned(n))) instead of defining a macro ALIGNED(n)?

Name: Anonymous 2011-12-06 23:35

because it's pythonic, which means it's correct

Name: Anonymous 2011-12-07 2:41

use volitile to make it safe thread.

Name: Anonymous 2011-12-07 6:59

>>2-3
/prog/ is shit.

Name: Anonymous 2011-12-07 10:46

>>1

Some old compilers do not understand the volatile keyword. (I know, this is no excuse, but "kernel developers" are rather ill-evolved people.)

And why should one bother with defining a macro?

Name: Anonymous 2011-12-07 11:08

>>5
And why should one bother with defining a macro?
It looks better and it's shorter to type -- I write kernel code so it appears a lot.

Name: Anonymous 2011-12-07 11:44

Why doesn't C have abstract?

No wonder why you neckbeards never got an ENTERPRISE job.

Name: Anonymous 2011-12-07 11:47

>>6
Unless the code is intended to be compiled on other compilers, so that the macro might have another definition, I would not define such a macro. But I agree it looks better than the ridiculous __attribute__ syntax.

Name: Anonymous 2011-12-07 12:09

>>6
I write kernel code so it appears a lot.
You are retarded. In fact this entire thread is retarded.

"Declaring your variables volatile will have no useful effect, and will simply cause your code to run a *lot* slower when you turn on optimisation in your compiler." - Bryan O' Sullivan

"...the use of volatile accomplishes nothing but to prevent the compiler from making useful and desirable optimizations, providing no help whatsoever in making code "thread safe". " - David Butenhof

http://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/

Name: Anonymous 2011-12-07 12:12

>>9

I pretty much believe you are retarded.

volatile has legitimate uses in hardware programming, and (competent) kernel developers are well aware of those uses. No one has said anything about volatile and multithreading.

Also, you're just parroting information from other threads without even knowing what they're about.

Name: Anonymous 2011-12-07 12:15

>>7[code]'
>Why doesn't C have abstract
>Implying a non-oop lanaguage would have a oop keyword
[code]

Name: Anonymous 2011-12-07 12:17

>>10
volatile has legitimate uses in hardware programming, and (competent) kernel developers are well aware of those uses.
vs

I write kernel code so it appears a lot.

Nope, it's definitely you!

Name: Anonymous 2011-12-07 12:21

Name: Anonymous 2011-12-07 14:20

It reduces the likelihood of code collision.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-07 16:17

The right
>way to perform a busy wait is:

  >  while (my_variable != what_i_want)
   >     cpu_relax();

Name: Anonymous 2011-12-07 16:25

>>15
Of course, busy-
waiting is generally an anti-social act to begin with.

what do you think the correct way is?

inb4

while(my_varaible != what_i_what);

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-07 16:32

>>16
Not writing yourself into such "busy waiting" parts in the first place.
make program which don't depend on var A being checked, and instead continue the rest of the program

Name: 1 2011-12-07 16:47

>>8
My main targets are gcc, clang and maybe tcc at a later point -- both clang and tcc tend to emulate gcc's behaviour on things, so the only motive is really of aesthetic nature.

>>9-13,16
The main legitimate use of volatile nowadays is to prevent the compiler from removing asm sections or moving them around.

>>15,17
Fuck off you fucking shiteater.

Name: Anonymous 2011-12-07 16:55

>>18
compiler from removing asm sections or moving them around.
why would a compiler do this?

isn't gcc the only shitty one that does?

Name: Anonymous 2011-12-07 16:57

>>18
tcc if you want compile speed
gcc if you want optimization
clang if you want gcc with improved compile speed

Name: Anonymous 2011-12-07 16:57

So, why do we need all these inferior ad-hoc languages, when there is Lisp? Why not have a superior low level Lisp DSL for kernel development, instead of error-prone and bloated C/C++ toolchain? It clear that C/C++ has no future and is going to die.

Name: Anonymous 2011-12-07 16:58

>>21
low level Lisp

then you'd just get C with abusive ( )

Name: Anonymous 2011-12-07 17:00

>>22
Nope. You'll get a macro assembler with Lisp syntax.

Name: Anonymous 2011-12-07 17:05

>>21
Lisp's syntax is horrible and unreadable.  Besides, I intend to run a high-level language atop of my kernel (something more readable, perhaps along the lines of brainfuck).

Name: Anonymous 2011-12-07 17:11

>>24
Lisp's syntax is horrible and unreadable.
No.

I intend to run a high-level language atop of my kernel (something more readable, perhaps along the lines of brainfuck).
Macro assembly Lisp could be easily extended into higher-level Lisp - just use it to implement GC and eval. And EVAL effectively acts as a security ensurer, so you can safely use single address space microkernel with uber-fast message passing.

Name: Anonymous 2011-12-07 17:13

>>25
You are under arrest for using the words "eval" and "fast" in the same sentence.

Also, Lisp syntax IS horrible and unreadable no matter how you look at it. I strongly believe that it should be the AST of a properly-syntaxed language.

Name: Anonymous 2011-12-07 17:16

asm is probably the only language that made sense and was easy to read

R.I.P asm /prog/ers

Name: Anonymous 2011-12-07 17:18

>>26
No.

>>27
asm uses prefix notation. Just like Lisp.

Name: Anonymous 2011-12-07 17:26

>>28
Fuck off and die already you fucking piece of shit.  I'd love so much to punch you in your little faggot face right now, you just have no idea.  Also, asm statements don't nest, which is exactly what makes asm so readable and your liquid shit language so unreadable.

Name: Anonymous 2011-12-07 17:27

>>28
you can prefix notation in C with macros

Name: Anonymous 2011-12-07 17:29

>>29
No.

>>30
Non uniform.

Name: Anonymous 2011-12-07 17:31

>>31
Fuck off and die, fagstain.

Name: Anonymous 2011-12-07 17:42

>>32
When you learn how to debate properly, maybe I will

Name: Anonymous 2011-12-07 19:52

just use python

Name: Anonymous 2011-12-07 20:49

>>33
I already said what I had to say: Common Lisp is an ugly manbeast obviously designed by a committee, a very long time ago, and Scheme is underspecified (standard libraries?) and overcomplicated at times (macros anyone?). Both, as Lisps, share the same anti-feature that is Sexp-based syntax (with the aggravating factor that the language even encourages the proliferation of extra parentheses and deeper nesting levels), which results in code unreadability through lack of visual cues. I said it before and I'll say it again, stick a proper syntax on Lisp and you'll probably have something quite very decent, assuming the underlying Lisp isn't braindead (Lisp-1, delimited continuations, etc.) -- and yes, I know you can easily write a Lisp-1 interpreter in any Lisp-2, so don't bother arguing about the nature of the world `underlying'.

Uniformity is a great thing for macros (let's face it, it's the only feature that really needs them), and I believe you could still have macros equivalent in power with non-Sexp based syntax.

Will you fuck off and die now?

Name: Anonymous 2011-12-07 21:19

>>35

This one /prog/rammer speaks -- alas! -- the Truth.

Name: Anonymous 2011-12-07 21:26

>>35
If you're so sure, whip up a #lang in racket. I bet you will find no one cares, because people use lisps because of the sexps, not in spite of them.

Name: Anonymous 2011-12-07 21:41

>>35
That's actually much better. I still disagree with you in most of your opinions. I use Lisp because of sexp together with a decent editor.

Name: Anonymous 2011-12-07 21:46

>>35
Its been done many times and it never caught on.
In practice nobody whose interested in Lisp is interested in hiding the parens. McCarthy originally provided M-expressions as  a cover over the Sexps but nobody used it and worked directly with sSxps. Theres been a few other attempts. In Schemeland there was SRFI 49 which creates a FIOCScheme but that obviously never caught on.

Nobody is interested in your ScalaLisp ideas, `fagstorm'.

Name: Anonymous 2011-12-07 21:52

>>39
isn't matlab or mathematica or some shit full of mexps? It seems intuitive to some people. I don't know, I picked up sexp programming very quickly, it seemed very intuitive to me. Even when I have to program in C for work I still sketch everything out in lispy pseudocode. I don't have anything in particular against C but it isn't my language of choice.

Name: Anonymous 2011-12-07 21:55

>>39
McCarthy provided m-expressions because he thought they read better, s-expressions were only there for self-terminating data. If you read the limits of mathematics by chaitin he makes a pure lisp capable of evaluating arbitrary data and it leans toward m-expressions, too. (Because randomly balancing parentheses is homogay.)

Name: Anonymous 2011-12-07 21:58

>>37-38
Were I to write such a language, my target demographic would obviously not be lispers (who seem to have somehow already grown accustomed to the, um, syntax). The point of writing such a language would be to basically sell all of Lisp's awesome features, minus the Sexps, to regular people who don't want to twist their mind (regardless of their text editor) into mentally parsing lisp code into something meaningful.

I find it quite ironic that Lisp's semantics are so liberating, yet the syntax is so frustratingly constrained.

Name: Anonymous 2011-12-07 22:08

>>39
In practice nobody whose interested in Lisp is interested in hiding the parens. McCarthy originally provided M-expressions as  a cover over the Sexps but nobody used it and worked directly with sSxps. Theres been a few other attempts. In Schemeland there was SRFI 49 which creates a FIOCScheme but that obviously never caught on.
Sorry, you didn't understand the intent in my post and it's probably my fault. Both M-expressions and ``FIOCScheme'' are just mappings of one uniform syntax to another uniform syntax. That's not what I'm talking about. I'm talking about a real, heterogeneous syntax, like Haskell or Javascript have, with of course the option of dropping into Sexp mode (mostly to get things like macros right).

Nobody is interested in your ScalaLisp ideas, `fagstorm'.
Scala is statically typed shit.

Name: Anonymous 2011-12-07 22:12

>>42
I don't know why other people like lisps. I doubt anyone made a poll or anything. Personally I like it because it is like... um, the bare metal of languages, as C is often described as "close to the bare metal" of er, silicon. Anyway, strained analogies aside, that's what draws me to lisps.

Name: Anonymous 2011-12-07 22:31

>>35

sexps have their uses. It's essentially equivalent to xml, and xml is pretty popular for expressing data that is in the form of an arbitrary tree structure. If one was going to create a macro assembler with macros that operated on a tree structure, rather than just flat textual substitution, then you would need to encode the program as an arbitrary tree. You could not define certain visual cues or certain rules for precedence, because this would restrict the macro system, or make it very confusing at least. Although you could always write a parser in lisp and have it parse a flat list of symbols, but I guess that isn't sexps.

Name: Anonymous 2011-12-08 16:55

>>45
Come on, you seem fairly intelligent, I'm sure you could figure it out how to make heterogeneous syntax perfectly compatible with Lisp-grade macros.

Name: Anonymous 2011-12-09 1:19

>>46

yeah, it's difficult. I think any attempt at replacement would suffer from the same readability problems. I think it is a consequence of staying close to something that easy for a computer to read, but not necessarily easy for a person to read.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 3:08

Calling eval to process XML trees of arbitrary executable code.
>Incredibly elegant, should be easily optimized.
Using function attributes to specify parameters or internal structure.
>Messy and suboptimal. We should avoid using it at all costs, since writing an extra couple of words or a macro to abstract out the attributes/parameters will be above our paygrade.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 3:26

>>41
M-Expressions sound an order of magnitude more sane than LISP notation.
An M-expression could also use operator names, meta-variables, and argument lists. Operator names and meta-variable names were in lower case, to show that they were not symbols (i.e., not data). Argument lists were delimited by brackets, [], and their elements were separated by semicolons. For example:
car[cons[(A . B); x]]
compared to Lisp syntax function soup this is actually usable.

Name: Anonymous 2011-12-09 3:52

>>49

but mexps are so close to sexps, the difference is just a matter of taste and what you are used to.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 3:56

>is just a matter of taste
Its whole another class of language. Have ever wondered why Lisp is so unpopular outside the very small "people with acquired Lisp taste" circle?

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 4:03

Hint: Its not perfomance, plenty of scripting languages are much slower than Lisp, yet remain more popular.

Name: Anonymous 2011-12-09 4:03

goddamn frozenvoid learn to quote properly

Name: Anonymous 2011-12-09 4:09

>>49-51
“The project of defining M-expressions precisely and compiling them or at least translating them into S-expressions was neither finalized nor explicitly abandoned. It just receded into the indefinite future, and a new generation of programmers appeared who preferred internal notation to any FORTRAN-like or ALGOL-like notation that could be devised.”John McCarthy, History of Lisp

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 4:13

>ALGOL-like notation
Because dealing with raw AST forms is much superior. Trains the brain to compile Lisp.
I suggest moving to raw hex, and compiling it into opcodes mentally, to achieve maximum purity.

Name: Anonymous 2011-12-09 4:14

>>51

but really, it isn't:


(define (fact n)
  (letrec ((helper (lambda (n acc)
                     (if (= n 0)
                       acc
                       (helper (- n 1) (* acc n))))))
    (helper n 1)))



define [[fact; n];
  letrec [[[helper; lambda [[n; acc];
                     if [= [n; 0];
                       acc;
                       helper [- [n; 1]; * [acc; n];]]]]]
    helper [n; 1]]]

       

It isn't ugly because it's like (this) instead of this[], but because everything is so deeply nested into nests of nests of nestedness.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 4:18

>>56
>define [[fact; n];
using such convoluted code to express  for( c = 1 ; c <= n ; c++ ) fact = fact*c;
Typical braindead Lisp design.

Name: Anonymous 2011-12-09 4:23

>>57

for [[ =[c;1]; <=[c;n]; ++[c]]; =[fact;*[fact;c]]]

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 4:28

>>58
That is much better, now can you see how C version(of >>58) is more elegant, because notation is syntax-based rather than bound to functions?

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 4:32

Thats why ALGOL-languages won:
1.they are fast
2.they don't shove the ASTs into your face
3.the notation is more human oriented
4.they don't require ALGOL-machines since they run everywhere equally fast

Name: Anonymous 2011-12-09 4:33

>>58
hahahahaha

No.

Name: Anonymous 2011-12-09 4:37

>>57
>RAW POWER OF ITERATIVE LOOP
>blah blah blah
where is the fact function, FrozenRetard?

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 4:42

>>62
You don't need any function. You calculate the factorial in place.
main(){
int x=4;
int c;for(c=x-1;c;c--)x*=c;//"function"
printf("%d",x);
}

Name: Anonymous 2011-12-09 4:44


(define (for-fn init condition increment body)
  (letrec ((loop (lambda ()
                   (if (condition)
                     (begin (body)
                            (increment)
                            (loop))))))
   (init)
   (loop)))

(define n 10)
(define c '())
(define fact 1)

(for (lambda () (set! c 1)) (lambda () (<= c n)) (lambda () (set! c (+ c 1)))
  (lambda ()
    (set! fact (* fact c))))

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 4:46

same code with function abstraction;
int c;
#define fact(x) ;for(c=x-1;c;c--)x*=c;
main(){
int x=4;fact(x);
printf("%d",x);
}

Name: Anonymous 2011-12-09 4:47

>>64
 actually, I normally do it like this:


(define (while-fn condition body)
  (letrec ((loop (lambda ()
                   (if (condition)
                     (body)))))
    (loop)))

(define (for-fn init condition increment body)
  (init)
  (while condition (lambda ()
                     (body)
                     (increment))))

Name: Anonymous 2011-12-09 4:48

>>60
1. No, languages don't make programs fast, implementations do.
2. No, to learn a language you must learn the syntax, AST, BNF or whatever.
3. No, math, programming and science are not human oriented.
4. No, ALGOL family is just abstraction over asm.

Name: Anonymous 2011-12-09 4:50

curse my typos! If I wasn't so mad at all you people trashing lisp, I would not have made them!


(define (while-fn condition body)
  (letrec ((loop (lambda ()
                   (if (condition)
                     (body)
                     (loop)))))
    (loop)))

(define (for-fn init condition increment body)
  (init)
  (while-fn condition (lambda ()
                        (body)
                        (increment))))

Name: Anonymous 2011-12-09 4:51

>>65
Thats actually neat. I can't fathom why Lispers write such ugly heaps of parens to do the same.

Name: >>60-san 2011-12-09 4:51

But somewhat I do like FrozenVoid.

Name: Anonymous 2011-12-09 4:59

>>69
because they're writing C code with LISP

(define fact
  (lambda (n)
    (if (= n 0) 1
        (* n (fact (- n 1))))))

Name: Anonymous 2011-12-09 5:01

if you want output
(print (fact 4))

Name: Anonymous 2011-12-09 5:09

fac n = product [1..n]

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 5:09

its not like i can't write stack-raping code in C too.
Its easy, and is more elegant then LISP
int fact(int n){return n?n*fact(n-1):1;}
main(){printf("%d",fact(4));}

Name: Anonymous 2011-12-09 5:14

>>74

your C style isn't even elegant C. heard of spaces?

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 5:15

>>75
If you care about the representation of code as text, why don't switch to Python?

Name: Anonymous 2011-12-09 5:24

PYTHON:Representing code better then LISP, since 1991.

Name: Anonymous 2011-12-09 5:35

>>74
raping
boner

Name: Anonymous 2011-12-09 5:49

i dreamed my cat turned into a human-sized nekomimi and i sucked her breasts and then we fucked
weird

Name: Anonymous 2011-12-09 5:54

>>74
I love you!
(define fact
  (λ (n r)
    (if (= n 0) r
        (fact (- n 1) (* r n)))))
(define factorial
  (λ (n) (fact n 1)))

Name: Anonymous 2011-12-09 5:58

>>79
Great, now we have two furries on /prog/: FrozenAutist and >>79.

Name: Anonymous 2011-12-09 6:04

>>81
>FrozenAutist
Is he a furry, for real?

Name: Anonymous 2011-12-09 6:04

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 6:06

What? i don't deny being furry. I just don't like people concentrating on what subculture i belong to.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 6:09

Now lets get back on topic: is LISP syntax is deficient or not compared to C.

Name: Anonymous 2011-12-09 6:46

>>84
shut up you disgusting filthy furry scum

Name: Anonymous 2011-12-09 7:49

>>85
I don't think LISP or C would be called “deficient”.
It's a matter of how easily you can put your computations in them, which is closely related to the way you design your programs, and the objectives you may need to meet.

Like the factorial program from before, the mathematical definition is clearly a recursion. Both languages have ways to clearly represent this problem. But it's when machine/implementation issues come to haunt our clean and concise programs.

You need to optimize, even if you don't need, but you'll want because it's cool enough. Then you have two ways: iteration and tail-recursion. Let's take a look at code (forgetting about fact(n) for n <= 0):

int fact(int n) {
    int c;
    for (c = n-1; c > 0; c--)
        n *= c;
    return n;
}

(define fact
  (λ (n r)
    (if (= n 0) r
        (fact (- n 1) (* r n)))))
(define factorial
  (λ (n) (fact n 1)))


Both forms give a good layer of abstraction over actual hardware instructions, but they still make you warned about machine stack limit. With LISP, it stops here. But with C, the abstraction level is more closely tied to hardware details, and you can see int types and increments, things really not strictly necessary to our problem.

Anyone could say this is a “braindead simple” example, but most real code are. The problem is just that such trivial code is often overlooked, and a simple overflow or wrong conversion can have dangerous consequences (in memory of Apollo 1 crew), because the language put these nasty details in your hands.

You talked about “human readability” but in fact what C does is showing you more machine stuff. I really think you know a lot about machine instructions, caching, memory access and stuff, so it's clearly obvious that you know how things should work if you need the maximum speed. Because you know this all, every optimization trick you do seems natural and easy, and you'll start to bend your designs to specific decisions. This is what I call premature optimization.

But really, I don't care about #include <void.h> neither (define x ((let ((...))))))))))). What I really care is about how difficult or spending is to understand what someone's code does. No matter if it's written in LISP, Python, C++ or whatever. But there's some stuff that seems to help me when I'm studying algorithms, or deducing them while reading some implementation:
 - meaningful but short names;
 - proper spacing (implying indentation is a must, and FIOC is better than one-line programs);
 - more comments = less readable code;
 - analogies with common knowledge.
And none of them is about objects, first class functions, templates, garbage collection and shit. They're cool features but that's all, they will not explain what is your program going to do!

Enough boredom, I'll get back to work and become a better programmer.

Name: Anonymous 2011-12-09 7:52

>>84
it's fucking obvious you enjoy the attention you get. you are probably right now yiffing right there with your fursuit

you disgust me

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 8:24

>>87
I can't even imagine someone optimizing LISP with all these layers of lambdas and recursion.
C is orders of magnitude more free to choose the algorithm at its lowest level, even stepping down to inline assembler.
LISP follows this "top-down abstraction" model, which i find deficient(beyond computer science) and inherently limited in design(i find such functional-class languages resembling circular logic system)

Name: Anonymous 2011-12-09 8:43

>>89
It's exactly like I said. You are premature optimization personified. While you want the freedom to choose the most optimized implementation, I want the freedom to not choose any implementation.
This way I can focus on my problem and write programs which are completely free of implementation limitations, ultimately leading to more natural and understandable code.
With your optimizing thinking, you need to know every fucking detail before using a library function, because you couldn't rest in peace without knowing if it's going to raise your cache misses or “waste” memory with runtime information.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 8:48

>completely free of implementation limitations, ultimately leading to more natural and understandable code.
For prototyping i'd rather use JavaScript

Name: Anonymous 2011-12-09 9:07

>>89
I'd like to see you write something useful in lisp before I accept the fact that you know enough to judge it in any way.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 9:12

>>92
No, i'd rather let you write things for me to judge, since i'm not a code monkey in your LISP project.

Name: Anonymous 2011-12-09 9:14

>>93
I don't know anything about lisp at all
FTFY

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 9:20

>>94
I don't need to eat a ton of shit to become an expert on the subject of taste of shit.

Name: Anonymous 2011-12-09 10:02

>>95
[happy gilmore]You eat pieces of shit for breakfast?![/happy gilmore]

Name: Anonymous 2011-12-09 10:02

>>91
Agree.
C < JavaScript < LISP

>>95
If you don't taste shit, you won't know how it's like.
If you taste black gluey shit, you just know how black gluey shit is like.
If you taste black gluey shit only, this will be bad for you, and you will become addicted. Oh no, you already are.

Name: Anonymous 2011-12-09 10:25

>>94
Since he is an "expert" JavaScript programmer, and JavaScript is a form of Scheme we can assume he knows something about Lisp, but is too retarded to comprehend Lisp syntax.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 10:34

>>98
I don't want to rape my mind by mentally compiling ASTs. I won't use lisp until
1.it replaces the braindead "syntax"(human readable syntax like C, or at least M-expressions)
2.the lisp have normal native hardware types support. not this "tagbits" inside an int bullshit
3.at least optimized GC which at worst can be turned off dynamically, or replaced with free/malloc(managing own byte array) and remove the fucking tagbits.

Name: Anonymous 2011-12-09 10:52

>>99
sexps aren't human-readable
They're more readable than your C code. Though that's damning with faint praise, I realize.

Name: Anonymous 2011-12-09 13:38

>>99
M-expressions are shit.

Name: Anonymous 2011-12-09 14:36

>>98
Lisp syntax is shit, which causes the entire language to be shit.

Name: Anonymous 2011-12-09 14:38

>>102
No.

Name: Anonymous 2011-12-09 15:30

Lisp originally used both sexps and mexps, but mexps fell out of use. Implementing mexps in a lisp would be a trivial exercise.

Name: Anonymous 2011-12-09 15:37

Name: Anonymous 2011-12-09 16:20

>>74
its not like i can't write stack-raping code in C too.
Tail position calls in Scheme are reduced to goto btw.

Name: Anonymous 2011-12-09 16:39

>>93
No, i'd rather let you write things for me to judge, since i'm not a code monkey in your [...] project.
>Volunteers to optimize and pastebin JavaScripts all day.
lol

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 21:42

>>107
1.JavaScript has human-readable syntax
2.i choose what to optimize, if i want to make a version of some algorithm i could easily write it in javascript
3.writing in javascript is not meant for complete concrete apps, its more of a testing abstract implementation(algorithms, approaches,etc)
Its a pasttime which is actually enjoyable. Its not a form of work.  Hacking JavaScript all day is not that mentally demanding(if you know your algorithms)
the syntax is nice and the language can be translated mentally to blocks of C anytime you want(since its syntax is the same).
As for the "volunteer" part you're very mistaken, i don't suddenly become controlled by your code, i just copy it and hack it as much as i like,
if i don't like your javascript, i could modify it to my version and won't care about your rules, indentations, syntaxes or some abstract bullshit you follow in your code. Its no longer your code, and will be a part of directory of scripts i hack for leisure.

Name: Anonymous 2011-12-15 3:49

>>105
Goodness, please post a warning before posting these kinds of images.

Name: Anonymous 2011-12-15 4:38

>>108
You disgusting code-rapist!

Name: Anonymous 2011-12-15 11:30

>>109
Goodness
Hairy Goodness!

Name: Anonymous 2011-12-15 11:43

>>108
The syntax for Javascript isn't the same as C you fucking idiot. Oh geeze, I don't know why I bother to you correct you. You're the same fucking braindead jew that wants to implementation defined shit into standard C. And I'm still not convinced you understand how to make non portable C code portable.

Name: Anonymous 2011-12-15 11:46

>>112
You're the same fucking braindead jew
Stop denigrating jews! They maybe evil, but not retarded.

Name: Anonymous 2011-12-15 11:49

>>113
This person is totally clueless about C, and like, programming in general. I really think this homo needs to stop acting like some dumbass wanna be hacker, and like, actually take a few computer programming classes at the local community college.

Name: Anonymous 2011-12-15 12:30

>>114
He, like, believes that classes and even books actually indoctrinate and like ossify your mind. He's kinda sorta like an ultimate foolproof dumbass, really.

Name: Anonymous 2011-12-15 12:58

>>115
Has this idiot even written one noteable piece of software? I guess when I think of real hackers, I think of people like JWZ. Aka the person that helped write the early Unix versions of netscape, xemacs, screensavers, etc.

Name: Anonymous 2011-12-15 14:15

>>116
JWZ
jew.

Name: VIPPER 2011-12-15 15:00

>>117
JEWS

Name: Anonymous 2011-12-15 15:09

>>116
Jew helped early Unix
If it wasn't for jews, Unix would have die long ago.

Name: Anonymous 2011-12-15 17:47

>>116
He wrote the greasemonkey /prog/ fixer.

Name: Anonymous 2011-12-15 19:56

>>120
OMFG. THAT IS SO ELITE. LET ME GRANT THIS HOMO THE FIRST TECHNICAL INTERVIEW. OBVIOUSLY A GUY OF THIS CALIBER MUST BE A TECHNICAL GENIUS.

Name: Anonymous 2011-12-15 20:05

>>121
Back to the imageboards, please.

Name: Anonymous 2011-12-16 6:40

>>120
He wrote the greasemonkey /prog/ fixer.
Except that he didn't write it, he "hacked on" someone else's /prog/-fixer which, originally, hid only the posts made by a certain tripfag, you probably can guess who that was.

Name: Anonymous 2011-12-16 6:54

no i cant tell me

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