[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/gentoo/ - Technology

Install gentoo.

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)

You may buy ads now for any board, betakey is removed. Please contact ads@8ch.net for information or help with this service.
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 2 per post.


File: 1426920554207.gif (64.63 KB, 612x815, 612:815, BestWork.gif)

 No.651

What would your dream programming language be like, /gentoo/?

>automatic GPU acceleration and multithreading

>built-in GUI building
>a decent standard library

 No.652

>>651
But my dream isn't actually to program consumer computers…

 No.653

>>651
My dream programming language and shell already exist. C, rc.

 No.654

My dream language would be C with lambdas. However, lambdas go against the simplicity of C.

 No.659

we need better editors that can show the program flow better
something that shows a 3d model of the objects in a program or maybe a view that points in which direction data flow is moving

as for programming we need to develop a type of home programming language for home users that will try not to crash when it meets undefined behavior and instead uses build in logic to path the data the best it can to make anything come out no matter what.
the programming itself should also be graphical and drag and drop, overall a person should be able to create a pong using noting but his mouse.

the idea behind this is to allow average people to create simple programs that have good I/O capabilities out of the box, i think it would be best to remove loops arrays and only keep the keyword "if" as a basic logic controller.

basically the language should have the following
>drag and drop UI
>a GUI builder that hides fine details
>easy creation and use of visual/audio/input/network/file objects
>assortment of functions
>removing functions and classes, data types should be abstracted and if possible converted from one type to another e.g string A("hello") converted to an int would give you the value of the place each letter holds in the alphabet
the language should have as few keywords as possible if and while with the standard operators such and not and or should be enough

As for scripting languages, they are fine as they are

low level languages need better multi-threading

 No.660

>>651
>What would your dream programming language be like, /gentoo/?

C with conservative metaprogramming features (as in, not full-on Lisp macros); instead of:

int times_two(int x)
{
return x * 2;
}

double times_two(double x)
{
return x * 2;
}

long long times_two(long long x)
{
return x * 2;
}

// ...


something like:

template times_two(x)
{
return x * 2;
}


Maybe not that exact syntax though, since it's a little ambiguous. Also, there may need to be syntax for explicitly exporting/aliasing specific instances of templates (to avoid name mangling bullshit altogether).



>inb4 C preprocessor

>inb4 "Type-generic Macros"
>inb4 C++

Just no. You know better.

 No.662

What do you mean? Have we gone back in time?
C still exists, right? I mean, what else would people program in?

 No.663

>>662
Some hipster language like haskell or Rust. One that is set so far back in time that they even have old bugs. I don't know what else people want to program in though.

 No.664

>>654
>>660
Upgrade to C++ you degenerate sperglords.

 No.665

>>664
>C++
>upgrade

"no"

 No.666

>>664
> C++ is upgrade of C
sure m8, keep believing that.
And C# is an upgrade of C++, yada yada

 No.667

How is C plus plus a upgrade? it more like a downgrade if anything hue hue hue.

 No.676

>>659
That has already been done and the implementations suck. I wish it weren't so, but it is. People have learned to hate the concept.

 No.696

>>662
>I mean, what else would people program in?
>>663
>I don't know what else people want to program in though.

Glorious Lisp, for when you're too lazy to write self-modifying code in C.

 No.729

>>666
Nice try Satan

 No.731

>>651

>automatic GPU acceleration and multithreading

Awful ricer shit. A lot of code does not belong on GPU in the first place, and why destroy a GPU without user consent? Constructs to easily build GPU-accelerated programs are good, though.

>wanting bloated GUI inside your language instead of relegated to 3rd parties

What the fuck, man, what the fuck.

The perfect language is GNU/Guile with the sbcl compiler and chicken's type annotation.


 No.808

>>653

>OP image

>your response




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]