You asked

How does the samyang af 14 24mm f 2 8 compare with the sigma 17 40mm f 1 8 for astro?

Here is what the site says about that.

From Samyang AF 14-24mm f/2.8: Samyang AF 14-24mm f/2.8: A zoom lens by Samyang for Full frame cameras, 14-24mm f/2.8. A compact ultra-wide zoom co-developed with Schneider-Kreuznach, about 440 grams. Specs - Maker: Samyang - Focal length: 14-24mm (zoom) - Maximum aperture: f/2.8 - Made for: Full frame sensors - Mounts: Sony E, L-Mount - Stabilised: no - Autofocus: yes What it frames like - On full frame (Sony E, L-Mount): as marked, 14-24mm. - On APS-C (Sony E, ...

From Sigma 17-40mm f/1.8 DC Art: Sigma 17-40mm f/1.8 DC Art: A zoom lens by Sigma for APS-C cameras, 17-40mm f/1.8. A constant f/1.8 standard zoom for APS-C mirrorless, in the spirit of the 18-35mm f/1.8 for DSLRs.

Quoted from this site's pages.

Ask next

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.