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

Pages: 1-4041-

Bento Box Lang

Name: Anonymous 2015-03-09 13:52

LISP macros
Standard imperative syntax
Extensive math library
Complex and Rational numbers
native machine types for math
As fast as C
GPU and Distributed computing capability
LLVM based
Calling C functions directly
Multiple dispatch
Unicode UTF-8
Type-bound operators
types are runtime objects
Runtime type inference
Open Source
Lightweight Green threads/coroutines
GC is incremental with no pauses
Shell capabilities and REPL
Multidimensional arrays
True module system and textual #inclusion
Reflection and access to intermediate bytecode
Can be embedded inside C code with a single header

Name: Anonymous 2015-03-09 13:53

types are runtime objects

Stopped reading right there. To the trash-can.

Name: Anonymous 2015-03-09 14:12

>>2
Type system:dynamic, nominative and parametric.
Runtime types allow dynamic flexibility with static type speed via type inference.
You can use primitive types and parametric types too.
hierarchical relationships between types are explicitly declared,
concrete types may not subtype each other: all concrete types are final and may only have abstract types as their supertypes.
all values are true objects having a type that belongs to a single, fully connected type graph, all nodes of which are equally first-class as types.
Both abstract and concrete types can be parameterized by other types.Only values, not variables, have types — variables are simply names bound to values.

Name: Anonymous 2015-03-09 14:30

>>3
Runtime types allow dynamic flexibility with static type speed

If types are runtime objects, they inevitably create overhead, so I doubt you have "static type speed".

Name: Anonymous 2015-03-09 14:32

>>4
native machine types for math

Name: Anonymous 2015-03-09 14:32

>>4
native machine types for math

Name: Anonymous 2015-03-09 14:34

>>5
I wasn't talking about math, I was talking about values. Runtime types always cause overhead.

Name: Anonymous 2015-03-09 14:53

>>7
You can always add annotations or conversion to runtime types making them concrete and produce abstract types from the concrete.

Name: Anonymous 2015-03-09 16:18

>>8
How will that remove the overhead of runtime type reification?

Besides, I can't even Google your language, is it real?

Name: Anonymous 2015-03-09 16:24

>>9
It was a joke on "the perfect bento Box"
The name is Julia language. Its a buggy mess atm but extremely powerful.

Name: Anonymous 2015-03-09 16:27

Name: Anonymous 2015-03-09 16:52

>>9
Haskell-faggu doesn't know the bento box.

ハハハッです

Name: Anonymous 2015-03-09 16:53

>>10
I've never even heard of Bento boxes.

Name: Anonymous 2015-03-09 16:55

>>12
I'm not a "faggu", faggot.

Name: Anonymous 2015-03-09 16:56

Name: Anonymous 2015-03-09 16:58

>>15
So it's weeaboo for "lunchbox". Fun.

OP is so retarded.

Name: Anonymous 2015-03-09 17:01

>>14 (faggu)
Yes, you are.

Name: Anonymous 2015-03-09 17:10

>>17
Fuck you and your puta madre, cabron.

Name: Anonymous 2015-03-09 17:22

>>16
The OP title refers to >>11 thread which is a snowclone of 10-year old copypasta in >>15 which is based on Japanese tradition on creating beautiful bento boxes.
Bento arrangement can be a form of art, it can depict anime characters, animals or other motifs with food and bento box itself can be handcrafted or designed with specific look or theme.

Name: Anonymous 2015-03-09 17:33

I like lumberjack bento.

Name: Anonymous 2015-03-09 17:41

Julia language needs a kawaii mascot(it can be pinku). Something cute and math-related, symbolizing its number crunching power and lisp-like flexibility.

Name: Anonymous 2015-03-09 19:35

C H E C K ' E M C U N T Z

Name: Anonymous 2015-03-09 20:02

>>22
Don't call me a cuntz, nigger.

Name: Anonymous 2015-03-09 21:39

I need a bento box for my burgers.
One kotoba for the burger(s), one kotoba for the fries.
Should be approximately small pizza box sized but taller

Name: Anonymous 2015-03-10 12:08

GC
dropped

Name: Anonymous 2015-03-10 12:49

>>25
Dumb motherfucker.

Name: Anonymous 2015-03-11 4:20

>>25
u mena finalized

Name: Anonymous 2015-03-11 5:15

Julia macros seem nice, but not something i'd abandon C for.
C macros answer 90% of use cases and the rest can be implemented as functions. After all macros are just a crutch for generating real code, and the latter can be always written by hand.
Same with operator overloading, which can be abstracted as single macro e.g. add(x,y) without making the expression cryptic(operators depending on types are nice to write, bad to read as they hide complexity/cost). So Julia has 0 "killer features" for me.
I wish people improved C preprocessor instead(by adding something like #macro/#endmacro with Julia macros to C standard) of writing next "hip language of the future that will supplant everything". At the least it would make writing next "hip language of the future" more productive as they all are C/C++ inside.

Name: Anonymous 2015-03-11 6:05

>>28
This would create a complex interpretation stage.
1.text processing:#define f(x,y)
2.interpretation:#macro , typeinfo& _Generic? builtin functions? basic math?
3.compilation

Name: Anonymous 2015-03-11 6:05

>>28
This would create a complex interpretation stage.
1.text processing:#define f(x,y)
2.interpretation:#macro , typeinfo& _Generic? builtin functions? basic math?
3.compilation

Name: Anonymous 2015-03-11 7:59

>>21
Yuki Nagato

Name: Anonymous 2015-03-11 10:04

>>28
Why not write your own preprocessor that adds #macro? Is it too hard?

Name: Anonymous 2015-03-11 10:23

>>32
Why not write your own preprocessor that checks dubs is it too hard?

Name: Anonymous 2015-03-11 11:35

>>33
No, it's just retarded.

Name: Anonymous 2015-03-12 5:12

>>32
I could spend much time implementing this, but my version of C would be non-standard and unsupported by all other compilers.
As i stated i want the standard modified to allow #macro to execute at compile time and produce code, as in Julia. Its been decades since C preprocessor got any notable improvement.
C isn't going anywhere and improving C preprocessor improves everything thats written in C/C++, languages,OSes, virtual machines and interpreters. Basically, one improvement in C preprocessor is equivalent to improving hundreds of languages and millions of programs. I don't expect anyone to understand it, but "primitive" C preprocessor is essentially the most important language on Earth as the first stage of C/C++ compilation which generates C/C++ code, which drives everything else(virtual machines, OSes, languages,etc). Productivity of programmers is directly proportional to amount of code C preprocessor produces.
LISP macros are a shortcut in lisp to create domain specific code by interpreting the macros as code generating code.
All that needed is to add interpretation of macros as C statements returning strings of code to be inserted into the program.
It doesn't need to be complex:
#macro result(a,b,c) //executed at compile time
char * result_code_string=malloc(1000);
sprintf(result_code_string,"%s%d*%f",a,b+2,c+3.0)
return result_code_string
#endmacro
result("double j=(k())+" , 22 , 2.0 );//macro invoked
double j=(k())+24*5.0;//final macro expansion

Name: Anonymous 2015-03-16 13:41

Julia dynamic types are not forced.
http://docs.julialang.org/en/latest/manual/types/
Type Declarations

The :: operator can be used to attach type annotations to expressions and variables in programs. There are two primary reasons to do this:

As an assertion to help confirm that your program works the way you expect,
To provide extra type information to the compiler, which can then improve performance in some cases

Name: Anonymous 2015-03-16 18:15

>>35
Every sane compiler has seperated the preprocessor from the compiler. You could even make it a prepreprocessor, that outputs valid C. You'd have to relax the ambitions of compile-time computation unless you wanted your own lexer though.

Name: Anonymous 2015-03-16 18:17

>>36
If the type assertion is not true, an exception is thrown

Disgusting.

Name: Anonymous 2015-03-16 18:21

In other words, in the parlance of type theory, Julia’s type parameters are invariant, rather than being covariant (or even contravariant). This is for practical reasons

Hahaha Julia is shit.

Name: Jewlia 2015-03-16 23:05

Jewlia

Name: Anonymous 2015-03-17 6:27

Name: Anonymous 2015-03-17 7:46

Ooooohhh! Guhhaaa... Ooh! Ah! Ah! Ah! AH! AAGGHHH! MOOOOOTHHEEEERR... FUCKKKEERRRRRRRAAAAAGHHHHHH!!!!!

Name: Anonymous 2015-03-17 8:13

>>42
Don't worry just eat this Sepple and you'll be type-safe.

Name: Anonymous 2015-03-18 4:56

pinku

Name: Anonymous 2015-03-18 6:13

>>43
Many Sepples have worms in them.

Name: Anonymous 2015-03-18 9:14

>>46
Natural Sepples always have worms, its a way of life.
Why would anyone eat GMO Sepples? They cause semicolon cancer and taste like rusted lisping dead dogs.

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