[ / / / / / / / / / / / / / ] [ dir / arepa / desu / faggot / feet / guro / natrp / reddit ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): bd44f087261429f⋯.png (365.06 KB, 680x510, 4:3, tinywl.png) (h) (u)

[–]

 No.956539>>956559 >>956570 >>956707 [Watch Thread][Show All Posts]

yo tech what do you think about wayland? is it ready for primetime yet?

check out https://gist.github.com/SirCmpwn/ae4d1cdcca97ffeb2c35f0878d75dc17 this 500 line replacement for dwm

 No.956555

I'll wait for bspwc


 No.956559>>956675 >>957378

>>956539 (OP)

Xserver works fine for me

So why should I change


 No.956570>>956576

>>956539 (OP)

i just hope they wont make it dependent on systemd


 No.956576>>956588

>>956570

Don't worry!

Your favorite desktop will feature Pipewire, another innovative software brought to you by RedHat.

Pipewire will feature a direct link to SYSTEMD in order to manage all video and audio.

Using SYSTEMD it will be possible to EASILY enable or disable video rendering or audio using the fantastic SYSTEMD tools.


 No.956586>>956665

I've not used wayland but they've had a terrible time delivering what should have been a relatively simple component so I suspect it's another btrfs-tier disaster.

It should be easy to make today as all the crazy shit and 'exercise for the reader' parts of the graphics stack are gone. We no longer are having to write custom versions of bresenham's algorithm that split things across 4 bitplanes just to draw a line or support wacky cards with hardware accelerated subregion scrolling in 2D. The remaining hard part, network support, they dropped. I don't know if they did anything with the font server but that's an archaic concept anyway.


 No.956588>>956590 >>956599 >>957612

>>956576

If we just stopped complaining about poetteringware for a moment and instead utilized that wasted time on contributing to Devuan, maybe, just maybe, Devuan could become a fully competitive distribution against Debian. I'm just saying.


 No.956590>>956630 >>956674 >>957707

>>956588

What's the point of Devuan other than butthurt containment? Debian still supports sysvinit and it works fine even with GNOME 3 and Chromium.


 No.956599>>956603 >>956614 >>956640

>>956588

Devuan is made by SJWs, do not use.


 No.956603

>>956599

Most free software projects are made by SJWs. Fork the code and slap a nazi icon on it if this triggers you so much.


 No.956614

>>956599

So? All SJW's are white.


 No.956617>>956625

>can't run wayland over a network

nu-X is fucking aids


 No.956625>>956641

>>956617

There's no reason why you cannot run an X server on top of Wayland.

https://wayland.freedesktop.org/xserver.html


 No.956630>>956646

>>956590

Because just about everything in Debian repos is built to expect systemD. It got to the point where it was easier to fork the entire distro than it was to maintain a systemd-free repo. This is why systemD is such a cancer.


 No.956640

>>956599

proof?


 No.956641>>956647

>>956625

What kind of ridiculous bullshit is replacing X with wayland only to have to run X on wayland?


 No.956643

Use it for a small setup with sway, can't really complain but on the other hand don't see why you should switch from X


 No.956646>>956651

>>956630

>Because just about everything in Debian repos is built to expect systemD

You niggers keep saying that yet when I try it everything still works fine on Debian with sysvinit. And I can switch between the two at will with a GNOME 3 desktop without some sort of massive cascade that uninstalls half the system as Devuan shills claim. Here, look:


anon@anon:~$ sudo apt-get install sysvinit-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
cgmanager initscripts insserv libcgmanager0 libnih-dbus1 libnih1 startpar systemd-shim sysv-rc
Suggested packages:
bootchart2 pm-utils bum bootlogd
The following packages will be REMOVED:
systemd-sysv
The following NEW packages will be installed:
cgmanager initscripts insserv libcgmanager0 libnih-dbus1 libnih1 startpar systemd-shim sysv-rc sysvinit-core
0 upgraded, 10 newly installed, 1 to remove and 0 not upgraded.
Need to get 738 kB of archives.
After this operation, 1,634 kB of additional disk space will be used.
Do you want to continue? [Y/n]

All I have to do is add /etc/inittab and I'm good to go. So what, SPECIFICALLY, is Devuan providing that I don't already get with stock Debian?


 No.956647>>956650

>>956641

You don't understand what is the purpose of Wayland. Protip: Wayland is developed by the same people who maintain X.org who understand exactly how X11 is used today in actual practice.


 No.956650>>956652

>>956647

>Wayland is developed by the same people who maintain X.org

That's not exactly inspiring confidence.


 No.956651>>956671

>>956646

>You're a shill because you posted the entire reason a distro was forked from another distro

Sounds like you're butthurt people left. No one cares how much or little work it takes to un-poz the distro, when it's pozzed as default that is plenty enough reason to leave.

I run Gentoo btw


 No.956652

>>956650

Is there a better authority on the X11 protocol than the X.org developers who spend their expertise trolling through the reference implementation of X11?


 No.956665>>957522

>>956586

I've never understood why FOSS has so much trouble with graphics and sound.

And file systems.

And init systems.

And efficient desktop IPC


 No.956671>>956672 >>956673

>>956651

They're shills because they make statements like "just about everything in Debian repos is built to expect systemD" which is obviously not true.

>pozzed as default

A justification for an entire distro being that they didn't like one default is pure autism. Debian doesn't have to be installed with systemd. I run a multistrap build for work that installs stretch with sysvinit. WSL also doesn't use systemd on stretch.

>I run Gentoo but I can't change a default


 No.956672>>956681

>>956671

"They" didn't make that statement, I made that statement because that statement is true.

>A justification for an entire distro being that they didn't like one default is pure autism.

Maybe, why do you care? Because those with autism do the majority of the work perhaps? You seem to have an autistic need to defend your beloved distro

>Debian doesn't have to be installed with systemd.

This is true if you want to spend all that time with configuration and marking systemd in apt so it doesn't pull it when you upgrade or pull something that depends on it by default (which is nearly everything). Why do through the trouble of doing it yourself when an entire community maintains a distro that does it for you? If you don't want systemd there is no reason to use a distro that uses it by default.

>I run a multistrap build for work that installs stretch with sysvinit. WSL also doesn't use systemd on stretch.

Good for you, you could avoid all that work by just using a distro that does the same exact thing by default. You're the one with autism.

>I run Gentoo but I can't change a default

I can change the default. I'm just not a retard that uses a pozzed distro then yells at other people that forked it and made their own thing.

Again you sound like a butthurt faggot.


 No.956673

>>956671

>A justification for an entire distro being that they didn't like one default is pure autism.

Uhh, that's the reason why 90% of all other distros exist, especially debian/ubuntu based.

I don't get why people are so butthurt about devuan, it's just like every other debian based distros with different defaults. Why don't you get mad about ubuntu instead?


 No.956674

>>956590

>guys, debian supports sysvinit

t. someone who hasn't tried to run Debian without systemd

Every time.


 No.956675>>956764 >>956967

>>956559

Because every program regardless of the user they are run as can read every key press every mouse click and every pixel of your screen. xorg is total shit.


 No.956681>>956683 >>956684

File (hide): 35d99ebb13d620f⋯.png (35.34 KB, 819x410, 819:410, most secure OS.png) (h) (u)

File (hide): 3896948742412ff⋯.png (23.56 KB, 819x410, 819:410, so perfect.png) (h) (u)

>>956672

>that statement is true

Devuan only modifies a few packages, anon. Debian contains over 10,000. Your statement cannot be true. And some of those changes are pure butthurt, like adding xlennart, or purges of optional systemd support that weren't necessary. There are also suspicious additions like the "bitcoin" package that have nothing to do with systemd and aren't present in Debian.

>This is true if you want to spend all that time with configuration and marking systemd

There is literally no marking and configuration is just specifying "packages=sysvinit-core" to multistrap instead of "packages=systemd-sysv" during install. I make builds of stretch for both, sysvinit for an embedded device and systemd for our servers.

>so it doesn't pull it when you upgrade

upgrade will never pull a package that requires a removal unless you've fucked up your apt preferences severely. As you're a gentoo user, you probably have. Don't change defaults you don't understand. You guys have well-deserved reputations as clowns.

>Why do through the trouble of doing it yourself when an entire community maintains a distro that does it for you?

Because they're literally retarded and can't even get GNOME working? And the "trouble" in this case was typing "sudo apt-get install sysvinit-core". Oh no, too hard, better make an entirely new distro.

>you could avoid all that work by just using a distro that does the same exact thing by default

I'd rather use a distro that gives me a choice and has timely security updates.


 No.956682>>956720

fuck wayland and fuck systemd


 No.956683

>>956681

>being so butthurt you go this far to defend systemd and Debian


 No.956684>>956686

File (hide): 0997f9a959a462c⋯.png (357.49 KB, 550x480, 55:48, 1428327743416.png) (h) (u)

>>956681

Also you're a retard. Installing another init doesn't remove the pozz. If you remove systemd meaning you purge it from the entire system it breaks everything including your precious GNOME. That's kind why someone forked it and made an entirely new distro.

Of course you know that you're just running damage control for systemd and your beloved Debian. Also

>calls Gentoo user clown

>says he uses Debian for the "fast security updates"

top kek.


 No.956686>>956693

>>956684

>it's poz even if it's not running and not pid 1

That's just autism, anon. You'd throw a tantrum at my code too as I build optional systemd support for systems that run it and build-depend on libsystemd-dev for sd-daemon.h. Devuan would fork my package for that even though I don't require systemd. Programmers treat their distro as a joke because it is.

>If you remove systemd meaning you purge it from the entire system it breaks everything

And yet I literally have no trace of systemd on my embedded builds and they somehow still work. It's almost like this is the outcome that Debian voted on. Huh.

>says he uses Debian for the "fast security updates"

What would a gentoo user even know about security updates. You don't even have any, you have new versions with new bugs. Rolling distro rolling into a ditch and catching fire.


 No.956691

>not using kernel mode setting and buffer management directly

casual


 No.956693>>956696

File (hide): 4b8911a1c334bda⋯.jpg (103.05 KB, 425x597, 425:597, 1457990735376-4.jpg) (h) (u)

>>956686

Still haven't answered the question of

>Why do you care what a bunch of autists do in their free time?

They forked Debian, deal with it. You're so booty blasted you've shit up an unrelated thread to shill for your beloved distro and systemd.

>Devuan would fork my package for that even though I don't require systemd.

Why do you care?

>Programmers treat their distro as a joke because it is.

Why would they care?

>It's almost like this is the outcome that Debian voted on. Huh.

Why do I care what a bunch of SJWs voted for? I don't use their distro.

>What would a gentoo user even know about security updates.

Probably more than the average normalfag and systemd shill considering they cared enough to learn a distro focused around building the entire system from source

>You don't even have any, you have new versions with new bugs.

Why do you care? Oh wait, I forgot you do care because users running the bleeding edge fix the bugs so you can benefit from them when it trickles down to your pozzed distro in a decade.

>Rolling distro rolling into a ditch and catching fire.

It's your opinion, I don't care about it. Why do you seem to care so much about mine?

http://without-systemd.org/wiki/index.php/Debian_Stretch

Notice how it lists all those optional steps for people that need a DE? See how much work someone has to do to purge it and keep it purged from the system? You can't deny it's cancer when you're running an application to emulate its behavior to keep other applications running. It's almost like everything in the distro has an hard dependency on systemd now because it's proven cancer that weasels its way into everything.

>he'll reply and continue to shit up this thread about wayland because he got BTFO multiple times in the Devuan thread

>mfw


 No.956696>>956699

File (hide): f5534c715f3d673⋯.jpg (10.02 KB, 300x225, 4:3, Itsgendohng_991.jpg) (h) (u)

>>956693

>gets called out for spreading bullshit

<lol but why do you care tho

I'm a programmer and I correct things. You've been corrected.


 No.956699>>956702 >>956755

File (hide): 7cec66c7a792e30⋯.jpg (42.43 KB, 634x500, 317:250, 1468023648989.jpg) (h) (u)

>>956696

Oh so you're so BTFO you refuse to answer the question eh? Ran out of talking points and FUD?

>I'm a programmer

Is this supposed to impress me? What do you do? Koding with Klossy? My money says you're a webdev LARPing as an embedded programmer.

>I correct things

Stay butthurrt faggot. Nice job searching for an image from Evo in an attempt to fit in. No one is believing your bullshit. We all know you're some faggot that started using Linux via Ubuntu and now you think you're some amazing programmer because you managed to install Debian.


 No.956702

File (hide): 342961e87df3b38⋯.jpg (38.09 KB, 492x299, 492:299, abZVzgB_700b.jpg) (h) (u)

>>956699

You've been corrected, anon. Return to your gentoos.


 No.956707

>>956539 (OP)

>replacement for dwm

Nope.


 No.956720

>>956682

>systemd and wayland are comparable

look systemd is a bloated piece of shit but wayland actually solves a shit ton of problems X has.


 No.956743

X11 IS NOT NETWORK TRANPARENT IN IT'S CURRENT USAGE

https://youtu.be/GWQh_DmDLKQ?t=1113


 No.956755

>>956699

checkem


 No.956764>>956770 >>956891

>>956675

In every distros default setup any program you run can read, delete, or alter any file within your home directory.

Wayland is fundamentally flawed, due to horrible design decisions, which are completely unnecessary. it's impossible for something running over Wayland to perform as well as something running over X can. Fixing this would require breaking everything.


 No.956770

>>956764

What flaw?


 No.956891>>957223 >>957805

>>956764

>In every distros default setup any program you run can read, delete, or alter any file within your home directory.

Absolutely not true. Basic linux permissions and group / user support prevent this. Linux programs can only edit your home directory if they specifically have access.

Xorg is not like that at all. Any program under any user can do anything.

>it's impossible for something running over Wayland to perform as well as something running over X can.

Absolutely incorrect. Wayland has far far less overhead than x.


 No.956945

File (hide): 5fff69ae8307c4e⋯.png (7.41 MB, 1920x1080, 16:9, sad wolf.png) (h) (u)

>mfw reading this thread

I miss AmigaOS.


 No.956967>>956975

>>956675

>programs are able to read /dev/ events

wowwwwwwwwwwwww what a terrible piece of software


 No.956975>>956988 >>957012 >>957155 >>957223

>>956967

>any program running as any user can keylog you

>not a horrible piece of shit

/tech/ is full of retards I swear


 No.956982

I'm not switching until someone ports xmemead


 No.956988>>957883

>>956975

>not how every modern GUI works

Except wayland I guess, which can't do streaming in an era defined by streaming. Loonix, always a decade late.


 No.957004

It's a necessary replacement. I am waiting for sway 1.0.


 No.957012>>957021 >>957155

>>956975

>oh no I'm being key logged by my key logging program

web devs in charge of handling input


 No.957021>>957031 >>957155

>>957012

>oh no my files are being deleted by my file deleting program

yeah I agree anon why even have file permissions. Everything should be totally unified. Security is totally retarded.


 No.957031>>957042

>>957021

File permissions saves /etc/ but not any of the actually valuable user files.

Yeah you are running X on a totally secure server. Totally.


 No.957042>>957159

>>957031

>File permissions saves /etc/ but not any of the actually valuable user files.

bullshit file permissions solve tons of things. You run your webserver as its own user. When it fucks up its isolated.

>Yeah you are running X on a totally secure server. Totally.

who are you even talking to i'm the one that hates X


 No.957155

>>956975

>>957012

>>957021

>oh no my program can do things


 No.957157>>957511 >>957888

https://lubuntu.me/lubuntu-development-newsletter-9/

>Lubuntu will be switching to Wayland by default for 20.10.

>We are going to do this by porting Openbox to use the Mir display server, Drew DeVault’s QtLayerShell, and other associated bits.


 No.957159>>957167 >>957938

>>957042

I'm talking to 1/100000 user who runs X with security in mind.

Wayland has no features. Look at OP he says it would be about 10k loc to reach the same as 50 loc for tinywm under X.

This is why nobody uses wayland.

Even worse is warnings like termbox where it looks OK then suddenly the dev is like fuck memory use Go instead. Nobody will port shit. We will end up with SDL terminals.


 No.957166>>957168 >>957350

Let's say I have two PCs set up with Wayland. I want to SSH from one into the other and remotely run a GUI program. How do I do it?


 No.957167>>957412

File (hide): ae81f7a469a75eb⋯.png (698.55 KB, 760x600, 19:15, TatungTWN5213Oberon.png) (h) (u)

>>957159

It's not accurate to measure features based in LOC. In fact more LOCs implies in most cases a bad design and less modularity.


 No.957168

>>957166

Using the Weston RDP compositor.


 No.957223>>957514 >>957536 >>957883

>>956975

This is how every OS and distro have worked for the last 30 years. Whatever "solution" wayland has is probably yet another meme. For starters either all code would have to run as separate users or just all code is some interpreted language with no privileges. Linux isn't even designed for multi user security (aside that it LARPs about it by having file privileges and such). Ironically, all the programs will indeed still have access to /dev/ as well as

>/proc/

>/sys/

>/mount/

>stuff like the wall command

>be able to read command lines of programs

etc

If you open a python or haskell shell in a folder that's not owned by you, it will execute code left in that folder (for example .ghci). If you chown a file in a folder that's not owned by you, it could be replaced with a link to /etc/passwd right before chown runs. Your OS is shit nigger and there's no saving it. I highly doubt Wayland fixes these problems and the other 9001 of them. Do you even know how file permissions in Linux work? Almost nobody does, despite claims that they are simple.

>>956891

You literally can't do anything in Linux without compromising multi user security. X11 of course just makes the problem far worse.


 No.957350>>957594

>>957166

Install the Weston Xserver.


 No.957378>>957438

>>956559

Security aside, the primary advantage of Wayland is its superior support for hardware acceleration. No more tearing, smooth scaling and dragging, far faster drawing and composition, less pointless memory copies, etc.


 No.957412

>>957167

How do more lines of code translate to LESS modularity?


 No.957438>>957510

>>957378

inb4 it uses triple buffering or double buffering (starts rendering after vblank). enjoy your >=16.66ms input lag and rsi


 No.957510>>957788

>>957438

Sucks, but it sweeps every other lag issue completely under the rug forever, and if combined with a better refresh rate (>120Hz) it wouldn't even increase latency.


 No.957511>>957536 >>957887

>>957157

Wow, they're actually porting OpenBox to Wayland.

Everybody used to say that simple X11 window managers couldn't be ported to Wayland because it has to be a compositor as well, and therefore will mean blowing them up in size by at least an order of magnitude.


 No.957514

>>957223

>what is namespacing

Basic features to prevent shit like this have been around since 2002 you retard. X11 has to go.


 No.957522

>>956665

That's what zero market pressure gives you.


 No.957536>>957545 >>957699

>>957511

No xorg on system+openbox+lxqt+sway in windowed mode = super comfy. Just needs a non-pozzed wayland only browser for maximum userland security. Port more emulators to use pure qt and you can get emulators with no xorg dependencies in the future. VLC already works without Xorg. There's pure wayland/no xorg music players. Libreoffice works in qt/wayland only mode but doesn't have options to remove xorg yet?. There's a single qt/pure wayland archive manager. Gimp and blender are fine in pure wayland using gtk3 howbeit shit interface. Wine works in pure wayland, but no 3d acceleration/vidya without X. And that's all I can think you could want that's not just command line only stuff or propietary software.

>>957223

Wayland isn't a solution to x11's problems, it is a restart from scratch using linux kernel specific interfaces to make common agreed upon solutions to certain usages of the framebuffer and input devices in userspace. It is designed around single user security and not needing root for anything if you use permissions correctly. The new code base lets it be smaller and more easily auditable compared to x11's cruft you have to go through just to get stuff to work, letalone be secure.


 No.957545>>957550

>>957536

>comfy

>muh bing bing wahoos

>security, security, security

This better be a joke.


 No.957550

>>957545

Security is no joke. And what's wrong with getting one's bing bing bing wahoos? Everybody needs a break once and while.


 No.957594

>>957350

That's one way to go, but I would recommend Weston-RDP, it's a much more efficient protocol.


 No.957612

>>956588

As if a bunch of 8chan lusers who do nothing but cry all day about 'poetteringware' will ever do anything as substantial as creating and using their own user space.

Cattle isn't meant to be taken seriously when they cry about the state of affairs. They're meant to be led and use whatever scraps we give them without complaining.


 No.957699>>957805 >>957884

>>957536

Wayland is shit. Can't even change the brightness on my fucking laptop after 3 hours of scouring documentation and the internet.


 No.957707>>957720

>>956590

I used to repeat this. Any time someone complained about systemd I parroted "Debian works without systemd!"

No it doesn't. It technically does, but half the system depends on it.


 No.957720>>957722

>>957707

I just installed sysvinit-core, rebooted, and purged systemd. At what point does "half the system" stop working? Does it take time? Should I check back tomorrow?


 No.957722>>957724

>>957720

Way to be a n00b

apt will pull system-d without making configurations and shit will break down the road. Devuan modifies any packages that conflict with systemd. You'll end up wasting hours of your time configuring things and always need to change shit. Devuan has a reason to exist so you can suck on mah ballsak


 No.957724>>957736 >>957831

>>957722

>apt will pull system-d without making configurations

Moving goalposts. What happened to your claim that "half the system" depends on it? As soon as I try it and show that's bullshit you just move on to the next piece of bullshit without saying a word.

But let's talk about this new bullshit. How is apt going to magically pull in systemd when "update" will hold back packages with dependencies that require removals? How are conflicting dependencies even going to get added to a stable release?

Why can't Devuan supporters ever give specific examples as to why their distro exists? It's always this tin foil hat shit about what might happen in the future.


 No.957736

>>957724

Devuan's shit anyways. Artix is the way to go in my opinion, and don't give me none of that "it's the same shit" argument, they clearly have different target userbases that happen to overlap in the "No systemd" department


 No.957788

>>957510

I've tried double buffered vsync (render after vblank) on 120Hz which gives 8.33ms input latency, and it's still a deal breaker.

>Sucks, but it sweeps every other lag issue completely under the rug forever

o-okay


 No.957805>>957923 >>957933

>>957699

Assuming you use intel here. Just open /sys/class/backlight/intel_backlight/brightness with your text editor of choice. I don't use wayland since it's shit, but I highly doubt that won't work.

>>956891

>Absolutely not true.

Try writting "rm -rf ~/*" in a text file, chmod +x, and running it from a terminal. I absolutely assure you it will happily proceed to work on pretty much any distros defaults.

>Absolutely incorrect. Wayland has far far less overhead than x.

Wayland is a lot smaller in regards to code size, but that doesn't it has less overhead. Graphics have to jump through a very long series of hoops in order to get rendered on screen, and it has very significant effects on performance. If you're already using compositing on X the difference is not as significant, though it's still there.


 No.957831>>957853

File (hide): 3f3608fc4d39eb6⋯.png (14.2 KB, 400x425, 16:17, xlennart11.png) (h) (u)

>>957724

Devuan exists because Debian didn't want xlennart in the repo!

I've considered making the shift from Debian to Devuan, because Devuan seems to have "choice" as a goal and a more sensible mailing list than debian-devel where they bicker over the weboob package for being offensive to women and someone forgetting to write Chair instead of Chairman in an announcement. I feel more confident that Devuan would not make opionanted choices on behalf of the users. However I've chosen to find a free weekend to go the LFS way and create my own system.. I want more control.


 No.957853

>>957831

>Devuan exists because Debian didn't want xlennart in the repo!

Good joke.


 No.957855

>All this poettering-ware drama

Thank god devuan and mx-linux exist.


 No.957883>>957887

File (hide): 19c4d6c923e8f6d⋯.png (135.05 KB, 922x405, 922:405, 1534555995450.png) (h) (u)

>>956988

>>957223

Not true. That's how X has worked, but Windows, MacOS, Android and every other operating system (except those that use X) don't have this problem.

X is an ancient, outdated and utter shite protocol created back when personal computers weren't even a thing. It is not suited for modern computing since it's insecure and unmaintanable.

Among other things, X:

>allows every program running to read all your inputs

>allows every program running to read the screen's content, as well as the content of other programs

>has full network access

These 3 should scare the shit out of you "le NSA botnet" idiots, but then again this is Contrarian Town and you don't have any personal beliefs, you only "believe" what's not popular.

>cannot restore gamma, contrast or brightness after a program modifies it

>has trouble working with multiple resolutions and multi monitor setups

>cannot scale content properly

>cannot add vsync by itself it. It requires special programs for that and it adds a shitload of input lag

>it's a clusterfuck of 30-year old code that nobody can read or maintain properly

>cannot render fonts (Wayland also can't do this because the devs are beyond retarded)

>cannot restore after the smallest of crashes

>is completely single-threaded

>allows any program to grab all the inputs or modify what other program's output (a misbehaving or malicious program can easily lock a used out of his PC)

>the way screensavers and lockscreen works under X is hilarious: submenus (like those little windows that appear when you right-click) disallow input in other parts of the screen. Not only this leads to all sorts of unintended behaviour, it's how lockscreens and screensavers work (basically they spawn a submenu to effectively lock the screen)

>this also means that the screen cannot be locked and the screensaver won't kick in if the user right clicks anywhere on the screen and leaves that submenu ope

>sometimes a crash or a bug may leave X hanging, and at that point it takes the inputs with it. The user cannot kill or restart X and, if it's too severe, it might even prevent them from changing to a terminal or using the magic sysreq combination

And there are many, many more reasons why X is shit.

Now, Wayland is also shit. Basically the X devs went all Suckless and decided to make it as small and secure as possible, but now it lacks even basic features like screen grabbing and desktop sharing. Mir would have been a far better alternative (and Upstart to systemd, for that matter) but Canonical is retarded and the community is fixated on sucking Red Hat's cock.


 No.957884>>957923

>>957699

Use acpilight you faggot. It might use the name "xbacklight" in command but it is completely independent of xorg and wayland. You can change brightness from the tty with it.


 No.957887>>957888

>>957883

Mir is going to be a Wayland compositor now, and may just make Wayland great by being a target for small X11 window managers >>957511


 No.957888

>>957887

Shit, meant to point out this post >>957157


 No.957923>>958045

>>957884

Oh and you think you're so smart asshat? I've tried every utility under the sun asshat, fiddled around in any directory related to brightness. Only thing I didn't do yet is look at xrandr's code you goddamned incompetent fuck.

>>957805

Can't find the /intel_backlight directory specifically but I tried modifying any brightness related values in /sys/class/backlight/acpi_backlight0 (or named something similarly) and nothing works. My last resort is checking out xrandr's code in my spare time, thanks for the help though. Appreciate it.


 No.957933>>958045

>>957805

>Try writting "rm -rf ~/*" in a text file, chmod +x, and running it from a terminal.

Yes faggot if you run the program as a user with permissions to delete your files of course it can. Linux allows you to securely configure users that cant. This one must have gone over your head as a windows user.


 No.957938>>958059

>>957159

>fuck memory, us GO instead

Golang? Never had memory issues using Go. What are you complaining about?


 No.958045>>958047

>>957933

>Linux allows you to securely configure users that cant.

Yes, you're fully right, there's a very good reason I said by pretty much any distros defaults.

>>957923

It might not be symlinked by default, tried searching from / for any folder named intel_backlight? From what I'm aware it's a very standard feature and anything intel should provide it, granted it's always worked for me, so I've never had much reason to look closely into it.


 No.958047

>>958045

>there's a very good reason I said by pretty much any distros defaults.

It's a fucking retarded statement then.

>A user can delete their own home directory

no shit


 No.958059>>958063

>>957938

Isn't a Hello World in go a megabyte of code and a big pile of ram?


 No.958063>>958073

>>958059

Languages with a runtime system will always use more RAM compared to those without. That being said, no.


 No.958073>>958079 >>958092

>>958063

>no


anon@anon:~$ cat foo.go
package main
import "fmt"
func main() {
fmt.Println("Hello, Google turned Rob Pike into a tranny")
}
anon@anon:~$ go build foo.go
anon@anon:~$ ls -alt foo
-rwxr-xr-x 1 anon anon 1633717 Aug 19 18:05 foo
anon@anon:~$ strip foo
anon@anon:~$ ls -alt foo
-rwxr-xr-x 1 anon anon 1020296 Aug 19 18:08 foo
anon@anon:~$ /usr/bin/time --verbose ./foo
Hello, Google turned Rob Pike into a tranny
...
Maximum resident set size (kbytes): 932
Minor (reclaiming a frame) page faults: 254

wew?


 No.958079>>958086 >>958092

>>958073

932 kB for a hello world? That seems excessive.


 No.958086>>958089 >>958092

>>958079

It is. The same thing in assembly,


anon@anon:~$ ls -alt foo
-rwxr-xr-x 1 anon anon 496 Aug 19 18:48 foo
anon@anon:~$ /usr/bin/time --verbose ./foo
Hello, Google turned Rob Pike into a tranny
...
Maximum resident set size (kbytes): 156
Minor (reclaiming a frame) page faults: 22

I could tune away some of that RSS and strip off more ELF shit but it's good to show how much of the bloat is from the OS and not the language.


 No.958089

>>958086

Forgot code,


anon@anon:~$ objdump --disassemble foo

foo: file format elf64-x86-64


Disassembly of section .text:

0000000000400080 <.text>:
400080: b8 01 00 00 00 mov $0x1,%eax
400085: bf 01 00 00 00 mov $0x1,%edi
40008a: 48 be a8 00 40 00 00 movabs $0x4000a8,%rsi
400091: 00 00 00
400094: ba 2c 00 00 00 mov $0x2c,%edx
400099: 0f 05 syscall
40009b: b8 3c 00 00 00 mov $0x3c,%eax
4000a0: bf 00 00 00 00 mov $0x0,%edi
4000a5: 0f 05 syscall


 No.958092>>958095

>>958079

>>958073

>>958086

You idiots do realize that 99% of that is the baseline cost of the runtime that is amortized away instantly.


 No.958095>>958099

>>958092

>it amortizes away, goyim!

It's bloated in benchmark tests, too. It's just a bloated language.


 No.958099>>958132

>>958095

You must really not understand how amortized costs work.


 No.958132>>958133

File (hide): d6470890145e927⋯.png (85.42 KB, 682x1073, 682:1073, amortized.png) (h) (u)


 No.958133

>>958132

>comparing LITERALLYANYTHING to THEFASTESTLANGUAGE

lol


 No.958134>>958135

All these shitty webdev languages aren't going to survive when we hit the physical limits of miniaturization soon and can only go faster through better code. If they can't compete with C, they aren't worth learning.


 No.958135>>958136

>>958134

>can only go faster through better code.

And that better code wont be c


 No.958136>>958140 >>958144

>>958135

>And that better code wont be c

Looks like it will be, as it hasn't been dethroned after 46 years of attempts.


 No.958140>>958155

>>958136

Only because of legacy shit started in the 90s. C++ has killed it in high performance areas.


 No.958144>>958334

>>958136

C is only faster in the same way assembly is faster than anything. Highly optimized c code looks nothing like 99% of the real world bullshit anyone writes. Here is a quick example. Take a linked list. In c to make a generic version (where you don't copy and paste the same code 50 times) you have to have the value element be a void*. That means you have a layer of indirection between the value and cell. Horribly slow. In something like c++ you can use templates (like the STL does) to just have the value be a part of the linked list node.


 No.958155>>958158

>>958140

>C++ has killed it in high performance areas

C++ is no faster.

>That means you have a layer of indirection between the value and cell. Horribly slow.

Lists in C aren't written that way by good programmers. Proper linked lists are intrusive and use knowledge of the offset of the embedded node to load the pointer to the object without an additional deference. An example of this is Linux's list library, but you'll find something similar in every good C project. See here for a description of how it works:

https://isis.poly.edu/kulesh/stuff/src/klist/

>In something like c++ you can use templates

Templates are a disaster for fast code as all the fun toys the processor has to speed up code like the icache and branch predictor get overwhelmed by all the copies of nearly identical code you throw at it. That kind of code explosion only appears to speed up poorly optimized code that wasn't tight enough to see the benefits of what was lost.


 No.958158>>958169

>>958155

>C++ is no faster.

Bullshit almost every part of real world c++ is faster.

>Lists in C aren't written that way by good programmers.

Yes "good" c programmers implement the same data structure over and over and over instead of using a well optimized known good version because c lacks any form of non retarded generics.

>roper linked lists are intrusive and use knowledge of the offset of the embedded node to load the pointer to the object without an additional deference

Which is what type safe c++ code does for you.

>but you'll find something similar in every good C project.

Because C makes doing trivial things like a generic list impossible

>Templates are a disaster for fast code

Wrong. Template code duplication was a problem like 20 years ago man.

>by all the copies of nearly identical code you throw at it.

You do realize that all your macro hack bullshit does the same thing though worse and is even less likely to be optimized away.


 No.958169>>958170 >>958191 >>958193

>>958158

>Bullshit almost every part of real world c++ is faster.

Untrue. The language benchmark site is a good example as their C++ tests are written with the restriction that they be written like real-world C++ rather than just copypaste the C. In the real world, we write the fast parts of C++ code as if it were C and use C++'s features to reduce the amount of error handling.

>because c lacks any form of non retarded generics.

Fast code doesn't use STL generics as many of the algorithms are undefined so can have wildly varying performance characteristics and are usually too generic and bloated to be any good. Only the more modern parts of the standard are free of that mistake, like the new RNG layer in C++14.

>Which is what type safe c++ code does for you.

No, actually. STL lists are worse than C lists and don't allow having an object in multiple lists. If you want the performance of C lists in C++ you can use the boost intrusive library. I'll caution you that this also gets used as an example when arguing why you shouldn't use C++. Try it and find out why.

>Because C makes doing trivial things like a generic list impossible

I literally just linked you to the kernel's generic list in C...

>Template code duplication was a problem like 20 years ago man

Nothing has changed. You have to be very careful with templates.

>You do realize that all your macro hack bullshit does the same thing though worse

It doesn't. You need to spend some time testing these things with objdump --disassemble so you don't sound like a faggot when arguing with a programmer.


 No.958170>>958191

File (hide): 434900483c0d52c⋯.png (75.71 KB, 700x872, 175:218, wrong.png) (h) (u)

>>958169

Forgot some lol.


 No.958191>>958202

>>958170

>>958169

Again you faggot. C will be fast for microbenchmark bullshit for the same reason assembly will be faster than anything. It has NO RELATIONSHIP to how data structures are actually used in the real world.


 No.958192>>958202 >>958336

>I literally just linked you to the kernel's generic list in C...

Did you even read the shit you linked you retard? This is YET ANOTHER EXAMPLE of macros being used to DUPLICATE CODE in a SHITTY WAY compared to c++. Copy and pasting code with Macros is sure as fuck going to have the same or worse optimization results.


 No.958193>>958202

>>958169

>STL lists are worse than C lists and don't allow having an object in multiple lists

Yeah i'm sure pointers don't exist in c++


 No.958202>>958205

>>958191

>It has NO RELATIONSHIP to how data structures are actually used in the real world

And yet I showed you that real-world kernel code handles data structures that way. How embarrassing for you.

>>958192

>DUPLICATE CODE

It's a bizarro world complaint coming from a C++ fan, but you're free to compare klist and boost intrusive - they'll both compile to the same code if you set the options in boost intrusive correctly. I think if you tried seriously using boost intrusive (both at class level and member level) you'd walk away with a desire to use klist and an understanding of why people hate C++, though. Go on, try it out. Learn something new today.

>>958193

>Yeah i'm sure pointers don't exist in c++

You don't understand the differences in how those datastructures work. Try creating a class that can be simultaneously present in 0, 1, or 2 lists with a STL list<>. Or, try creating a class that can be moved between different lists without duplicating the list node. Or just look up why boost intrusive exists.


 No.958205>>958216

>>958202

>c programmers link to microbenchmarks to make their point

this is a real plebian mistake

>real-world kernel code handles data structures that way

Yep and what do they do? COPY PASTING WITH MACROS. Now try shit like string optimizations. There is so much shit that c++ does superior string representations that you just never find in most c.

>You don't understand the differences in how those datastructures work.

<hurr durr he does not know how a linked list works

look faggot just because one particular data structure does not expose the cells of your list does not mean you cant have a pointer to a cell in general.


 No.958216>>958337

>>958205

>c programmers link to microbenchmarks to make their point

Optimization is all about taking the hot loop and transforming it into a horrible nightmare of "microbenchmark" style code. It's entirely relevant.

>Now try shit like string optimizations. There is so much shit that c++ does superior string representations that you just never find in most c

Uhh anon, I guess you aren't aware that C++ strings are hopelessly and absurdly slow, so much so that they're usually forbidden in coding standards of large C++ projects. You should really write a little benchmark and see for yourself. The problem is with the standard - because the stringbuf stuff is virtual, it can't ever be optimized away by any compiler and you end up with cases where it's calling a virtual method per character. They're literally the worst part of C++ and a tragic mistake. They also are a total failure for unicode. Real C++ code often uses ICU strings instead.

> just because one particular data structure does not expose the cells of your list does not mean you cant have a pointer to a cell in general

I have no idea what you're talking about. Why don't you actually try what I suggested so what you say isn't so retarded? It's a learning opportunity. Use boost intrusive with the same settings that would match klist's behavior, examine the code produced, try to match it using the STL. And presto, you'll have an understanding of what's wrong with the STL. It's like 10 lines of code, you can do it, I believe in you.


 No.958334


 No.958336

>>958192

You realize that the compiler instantiates templates, right? Not very different from macro expansion.

FYI the biggest and most important advantage C has that C++ never will have is a stable ABI. That's why people use C libraries from any language while the only code that will ever touch C++ shit is more C++ code unless you give up on C++ interfaces and use extern "C".


 No.958337

>>958216

>Real C++ code often uses ICU strings instead.

You're my nigger. ICU is amazing.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
123 replies | 18 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / arepa / desu / faggot / feet / guro / natrp / reddit ][ watchlist ]