From: kosaki.motohiro@... Date: 2017-01-03T11:59:23+00:00 Subject: [ruby-core:78949] [Ruby trunk Feature#13095] [PATCH] io.c (rb_f_syscall): remove deprecation notice Issue #13095 has been updated by Motohiro KOSAKI. >We should expect users of this to be able to read and follow >documentation. We already have a warning about it. I prefer we >allow it to improve, and allow users to shoot themselves in the >foot if necessary. This is unrelated what I said. I said current interface (both C level and Ruby level) is not designed well and then, user have _no way_ to write correct code. Ruby code have no way to care about memory alignment. I didn't only talk about just careless user. >As I've said before: I don't want Ruby to be >a nanny scripting language. I agree. But I don't think this patch is a right direction. I'm curious. Why you don't like to make proper new C extension? C program have a _way_ to treat syscall(2) interface correctly. >Anyways, I plan on having this release GVL for slow syscalls >and maybe other small improvements. Wait. This? Which patch do you talk about? As far as I can see, current attached patch only remove a warning. Doesn't it? ---------------------------------------- Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice https://bugs.ruby-lang.org/issues/13095#change-62367 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- io.c (rb_f_syscall): remove deprecation notice New, perhaps experimental syscalls appear all the time which may not and never be be supported by the system C library. Furthermore, on common GNU/Linux platforms, kernel development and releases happens at a much faster pace than GNU C library (glibc) development. In my experience, is more common for users to run recent, custom-built Linux kernels than a recent, custom-built glibc. (This is likely because Linux upstream has better built-in tooling for distro package management integration than glibc upstream). So, ruby should support users who want to deal with the latest and greatest syscalls in the kernel without having them wait for C library support. ---Files-------------------------------- 0001-io.c-rb_f_syscall-remove-deprecation-notice.patch (1.33 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: