Skip to content

u/tesfabpel

In this archive from Jan 2016 to Mar 2026

8
posts
88
comments
0
media
302
score
1 saved before deletion

Top posts

My first AUR package: goxel

Hi, I needed to try an open-source voxel editing program called goxel on my Arch machine and since it was not available on AUR I decided to create a package for it! :) Please tell me if something's wrong or strange about the PKGBUILD, etc... Thanks :) AUR Package: https://aur.archlinux.org/packages/...

19 points16 comments
Open on Reddit

btrfs: slow mount time of 4TB HDD

Hi, I have a WD4003FZEX (4.0 TB HDD 7200rpm) formatted with a Guid partition table. When I mount the first partition (3.6 TiB, formatted with BTRFS), it takes ~10 seconds to mount. The verify command in gdisk says that the partition table is ok. This is the output of btrfs inspect-internal dump-supe...

4 points4 comments
Open on Reddit

Debug packages in Arch

Why there are no debug packages in the arch repos? (Almost?) all of the other main distros have those "side" packages available to install that provide symbols to help during the debugging... PS: I'm talking about official support for these packages / repos, not user-created ones which may lag behin...

3 points3 comments
Open on Reddit

Top comments

Drivers are comprised by two parts: kernel space and user space. Mesa is the userspace implementation for Intel and AMD and offers its implementation of Vulkan and OpenGL APIs.
The official NVIDIA driver doesn't use Mesa but it provides its own proprietary implementation of Vulkan and OpenGL.

As others said: Those userspace implementations of Vulkan and OpenGL APIs produce commands that can be sent to the GPU (the GPU itself doesn't understand Vulkan or DirectX or OpenGL) via the kernel space part.

The kernel space part of the driver also has responsibilities to initialize the card, handling monitors and setting the video mode, adjusting clocks and power saving features and more.

34 points

Cross-language interoperability is usually done via C FFI.

C's calling conventions and data formats are extremely simple (it doesn't have operator overload, inheritance and struct methods, overrides, etc...) so it works really well as a common base denominator.

A binding generator is able to create bindings for different languages with ease.

Do you want to expose a C++ class with a constructor, a destructor and class methods? Well you can do this and have other languages wrap them in their own versions of ctors, dtors and class methods: struct Foo *foo_new(), void foo_free(struct Foo *foo) and float foo_do_some_magic(struct Foo *self, int bar)...

7 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.